Print OpenCV version when running CMake

This commit is contained in:
Matt McWilliams 2024-03-16 15:29:54 -04:00
parent 78616ff203
commit 90db9f02de
1 changed files with 2 additions and 0 deletions

View File

@ -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
) )