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 5b35f0b commit b3a42c8Copy full SHA for b3a42c8
cmake/OpenCVDownload.cmake
@@ -86,6 +86,13 @@ endfunction()
86
87
function(ocv_download)
88
cmake_parse_arguments(DL "UNPACK;RELATIVE_URL" "FILENAME;HASH;DESTINATION_DIR;ID;STATUS" "URL" ${ARGN})
89
+ if(HUNTER_ENABLED)
90
+ if (DL_ID STREQUAL "IPPICV")
91
+ message(DEBUG "ocv_download(): IPPICV allowed while using Hunter, continue")
92
+ else()
93
+ message(FATAL_ERROR "ocv_download(): downloading external resources not allowed while bulding with Hunter. Args: ${ARGV}")
94
+ endif()
95
96
97
function(ocv_download_log)
98
file(APPEND "${OPENCV_DOWNLOAD_LOG}" "${ARGN}\n")
0 commit comments