icv: enable public IPPICV packages
This commit is contained in:
parent
7249622ce7
commit
0f7fbe4458
9
3rdparty/ippicv/downloader.cmake
vendored
9
3rdparty/ippicv/downloader.cmake
vendored
@ -59,12 +59,11 @@ function(_icv_downloader)
|
|||||||
|
|
||||||
if(NOT EXISTS "${OPENCV_ICV_PACKAGE_ARCHIVE}")
|
if(NOT EXISTS "${OPENCV_ICV_PACKAGE_ARCHIVE}")
|
||||||
if(NOT DEFINED OPENCV_ICV_URL)
|
if(NOT DEFINED OPENCV_ICV_URL)
|
||||||
if(NOT DEFINED ENV{OPENCV_ICV_URL})
|
if(DEFINED ENV{OPENCV_ICV_URL})
|
||||||
# TODO Specify default URL after ICV publishing
|
set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL})
|
||||||
message(STATUS "ICV: downloading URL is not specified, skip downloading")
|
else()
|
||||||
return()
|
set(OPENCV_ICV_URL "http://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv")
|
||||||
endif()
|
endif()
|
||||||
set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL})
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(MAKE_DIRECTORY ${OPENCV_ICV_PACKAGE_ARCHIVE_DIR})
|
file(MAKE_DIRECTORY ${OPENCV_ICV_PACKAGE_ARCHIVE_DIR})
|
||||||
|
Loading…
Reference in New Issue
Block a user