icv: enable public IPPICV packages

This commit is contained in:
Alexander Alekhin 2014-05-23 13:43:31 +04:00
parent 7249622ce7
commit 0f7fbe4458

View File

@ -59,12 +59,11 @@ function(_icv_downloader)
if(NOT EXISTS "${OPENCV_ICV_PACKAGE_ARCHIVE}")
if(NOT DEFINED OPENCV_ICV_URL)
if(NOT DEFINED ENV{OPENCV_ICV_URL})
# TODO Specify default URL after ICV publishing
message(STATUS "ICV: downloading URL is not specified, skip downloading")
return()
if(DEFINED ENV{OPENCV_ICV_URL})
set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL})
else()
set(OPENCV_ICV_URL "http://sourceforge.net/projects/opencvlibrary/files/3rdparty/ippicv")
endif()
set(OPENCV_ICV_URL $ENV{OPENCV_ICV_URL})
endif()
file(MAKE_DIRECTORY ${OPENCV_ICV_PACKAGE_ARCHIVE_DIR})