kinect/codes/Azure-Kinect-Sensor-SDK/cmake/FindOpenCV.cmake

11 lines
296 B
CMake
Raw Permalink Normal View History

2024-03-06 18:05:53 +00:00
if (OpenCV_FIND_REQUIRED)
set (OpenCV_REQ_FLAG "REQUIRED")
else()
set (OpenCV_REQ_FLAG)
endif()
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
find_package (OpenCV CONFIG PATHS "C:/opencv/build/x64/vc14/lib" ${OpenCV_REQ_FLAG})
else()
find_package (OpenCV CONFIG ${OpenCV_REQ_FLAG})
endif ()