Add dependencies

This commit is contained in:
2020-11-29 19:26:21 +01:00
parent 7dc90b3e83
commit 097669bc44
5 changed files with 38 additions and 2 deletions

10
3rdParty/opencv/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,10 @@
Find_Package(OpenCV)
if (NOT OpenCV_FOUND)
FetchContent_Declare(
opencv
GIT_REPOSITORY https://github.com/opencv/opencv.git
GIT_TAG v4.5.0
GIT_SHALLOW TRUE
)
FetchContent_MakeAvailable(opencv)
endif()