Commit cde15a77 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: update ocv_download

parent 31e96057
......@@ -36,6 +36,7 @@ else()
"$ENV{OPENCV_PROTOBUF_URL}"
"https://github.com/google/protobuf/releases/download/v3.1.0/"
DESTINATION_DIR "${PROTOBUF_CPP_PATH}"
ID PROTOBUF
STATUS res
UNPACK RELATIVE_URL)
if(NOT res)
......
......@@ -26,6 +26,7 @@ function(download_boost_descriptors dst_dir status_var)
"$ENV{OPENCV_BOOSTDESC_URL}"
"https://raw.githubusercontent.com/opencv/opencv_3rdparty/${OPENCV_3RDPARTY_COMMIT}/"
DESTINATION_DIR ${dst_dir}
ID "xfeatures2d/boostdesc"
RELATIVE_URL
STATUS res)
if(NOT res)
......
......@@ -20,6 +20,7 @@ function(download_vgg_descriptors dst_dir status_var)
"$ENV{OPENCV_VGGDESC_URL}"
"https://raw.githubusercontent.com/opencv/opencv_3rdparty/${OPENCV_3RDPARTY_COMMIT}/"
DESTINATION_DIR "${dst_dir}"
ID "xfeatures2d/vgg"
RELATIVE_URL
STATUS res)
if(NOT res)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment