We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a7160 commit bcb2471Copy full SHA for bcb2471
cpp/3rdparty/opencv/opencv.cmake
@@ -54,8 +54,7 @@ set(CMAKE_BUILD_TYPE "Release" CACHE STRING "CMake build type")
54
55
message(STATUS "Fetching OpenCV from Github")
56
include(FetchContent)
57
-FetchContent_Declare(opencv GIT_REPOSITORY https://github.com/opencv/opencv.git GIT_TAG 4.x
58
- GIT_SHALLOW TRUE GIT_PROGRESS TRUE)
+FetchContent_Declare(opencv URL https://github.com/opencv/opencv/archive/refs/tags/4.11.0.tar.gz)
59
FetchContent_MakeAvailable(opencv)
60
# OpenCV_INCLUDE_DIRS is set by OpenCVConfig.cmake and is unavailable after simply building
61
set(OpenCV_INCLUDE_DIRS "${opencv_SOURCE_DIR}/include")
0 commit comments