Merge pull request #11030 from jchazalon:patch-1

This commit is contained in:
Alexander Alekhin 2018-03-08 17:54:14 +00:00
commit 687394fa07

View File

@ -34,9 +34,9 @@ file(WRITE "${OPENCV_DOWNLOAD_LOG}" "use_cache \"${OPENCV_DOWNLOAD_PATH}\"\n")
function(ocv_download)
cmake_parse_arguments(DL "UNPACK;RELATIVE_URL" "FILENAME;HASH;DESTINATION_DIR;ID;STATUS" "URL" ${ARGN})
macro(ocv_download_log)
function(ocv_download_log)
file(APPEND "${OPENCV_DOWNLOAD_LOG}" "${ARGN}\n")
endmacro()
endfunction()
ocv_assert(DL_FILENAME)
ocv_assert(DL_HASH)