We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 592c3dd commit f751fd2Copy full SHA for f751fd2
example/VideoCam/CMakeLists.txt
@@ -5,15 +5,12 @@ message(STATUS "System Processor: ${CMAKE_SYSTEM_PROCESSOR}")
5
6
find_package(Threads REQUIRED)
7
find_package(OpenCV QUIET)
8
-if(NOT OpenCV_FOUND)
9
- message(FATAL_ERROR "OpenCV not found! Please install OpenCV and make sure it's visible to CMake.")
10
-endif()
11
+if(OpenCV_FOUND)
12
message(STATUS "Found OpenCV version: ${OpenCV_VERSION}")
13
message(STATUS "OpenCV include dirs: ${OpenCV_INCLUDE_DIRS}")
14
message(STATUS "OpenCV libraries: ${OpenCV_LIBS}")
15
16
-if(OpenCV_FOUND)
17
# **************************编译普通节点*****************************
18
add_executable(${PROJECT_NAME}
19
main.cpp
0 commit comments