cameracv/libs/opencv/apps/version/CMakeLists.txt
2023-05-18 21:39:43 +03:00

5 lines
266 B
CMake

ocv_add_application(opencv_version MODULES opencv_core SRCS opencv_version.cpp)
if(WIN32)
ocv_add_application(opencv_version_win32 MODULES opencv_core SRCS opencv_version.cpp)
target_compile_definitions(opencv_version_win32 PRIVATE "OPENCV_WIN32_API=1")
endif()