Print OpenCV version when running CMake
This commit is contained in:
parent
78616ff203
commit
90db9f02de
|
@ -5,6 +5,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake-mod
|
||||||
|
|
||||||
find_package(OpenCV HINTS /usr/local/opt/opencv /usr/local/Cellar/opencv REQUIRED)
|
find_package(OpenCV HINTS /usr/local/opt/opencv /usr/local/Cellar/opencv REQUIRED)
|
||||||
|
|
||||||
|
message(STATUS "OpenCV version: ${OpenCV_VERSION}")
|
||||||
|
|
||||||
set( NAME_SRC
|
set( NAME_SRC
|
||||||
opencv_fb.cpp
|
opencv_fb.cpp
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue