File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -139,8 +139,8 @@ endif()
139139
140140include ("cmake/HunterGate.cmake" )
141141HunterGate(
142- URL "https://github.com/cpp-pm/hunter/archive/v0.23.214 .tar.gz"
143- SHA1 "f55fa3a96eac57eac28e99b4c326f1fa61c685a7"
142+ URL "https://github.com/cpp-pm/hunter/archive/1c3ec27a394f33ac93502530f915acaf3ce808a5 .tar.gz"
143+ SHA1 5f3024c76374c3b5c3eeb8e082dc98a4ffd5c00f
144144)
145145
146146project (OpenCV CXX C)
Original file line number Diff line number Diff line change 1010#
1111
1212if (NOT OPENCV_SKIP_OPENEXR_FIND_PACKAGE)
13- find_package (OpenEXR 3 QUIET )
13+ if (HUNTER_ENABLED)
14+ hunter_add_package(OpenEXR)
15+ find_package (OpenEXR CONFIG QUIET )
16+ else ()
17+ find_package (OpenEXR 3 QUIET )
18+ endif ()
1419 #ocv_cmake_dump_vars(EXR)
1520 if (OpenEXR_FOUND)
1621 if (TARGET OpenEXR::OpenEXR) # OpenEXR 3+
You can’t perform that action at this time.
0 commit comments