Skip to content

Commit 91b325a

Browse files
author
Thomas Guerneve
committed
Hunterised 3.4.10
1 parent 1cc1e6f commit 91b325a

File tree

7 files changed

+630
-58
lines changed

7 files changed

+630
-58
lines changed

3rdparty/ippicv/ippicv.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ function(download_ippicv root_var)
3333
return()
3434
endif()
3535

36+
if(HUNTER_ENABLED)
37+
hunter_add_package(ippicv)
38+
set(OPENCV_ICV_URL "file://${IPPICV_ROOT}")
39+
endif()
40+
3641
set(THE_ROOT "${OpenCV_BINARY_DIR}/3rdparty/ippicv")
3742
ocv_download(FILENAME ${OPENCV_ICV_NAME}
3843
HASH ${OPENCV_ICV_HASH}

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ if(DEFINED CMAKE_BUILD_TYPE)
9797
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "${CMAKE_CONFIGURATION_TYPES}")
9898
endif()
9999

100+
include("cmake/HunterGate.cmake")
101+
HunterGate(
102+
URL "https://github.com/cpp-pm/hunter/archive/v0.23.256.tar.gz"
103+
SHA1 "e9b8328133fc0643d5f921fec81f2c0808c98419"
104+
)
105+
100106
option(ENABLE_PIC "Generate position independent code (necessary for shared libraries)" TRUE)
101107
set(CMAKE_POSITION_INDEPENDENT_CODE ${ENABLE_PIC})
102108

0 commit comments

Comments
 (0)