CMakeLists.txt 266 B

12345
  1. ocv_add_application(opencv_version MODULES opencv_core SRCS opencv_version.cpp)
  2. if(WIN32)
  3. ocv_add_application(opencv_version_win32 MODULES opencv_core SRCS opencv_version.cpp)
  4. target_compile_definitions(opencv_version_win32 PRIVATE "OPENCV_WIN32_API=1")
  5. endif()