Add dependencies
This commit is contained in:
10
3rdParty/opencv/CMakeLists.txt
vendored
Normal file
10
3rdParty/opencv/CMakeLists.txt
vendored
Normal 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()
|
||||
Reference in New Issue
Block a user