Files
OpenVulkano/3rdParty/opencv/CMakeLists.txt
2021-07-30 20:21:11 +02:00

11 lines
289 B
CMake

Find_Package(OpenCV)
if (NOT OpenCV_FOUND)
FetchContent_Declare(
opencv
EXCLUDE_FROM_ALL
GIT_REPOSITORY https://github.com/opencv/opencv.git
GIT_TAG v4.5.0
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(opencv)
endif()