[downloads] Don't show progress by default

This commit is contained in:
Alexander Karatarakis 2017-11-02 19:08:53 -07:00
parent ebb52b8cb1
commit dc7db25713

View File

@ -70,7 +70,7 @@ function(vcpkg_download_distfile VAR)
# Tries to download the file. # Tries to download the file.
foreach(url IN LISTS vcpkg_download_distfile_URLS) foreach(url IN LISTS vcpkg_download_distfile_URLS)
message(STATUS "Downloading ${url}...") message(STATUS "Downloading ${url}...")
file(DOWNLOAD ${url} "${download_file_path_part}" STATUS download_status SHOW_PROGRESS) file(DOWNLOAD ${url} "${download_file_path_part}" STATUS download_status)
list(GET download_status 0 status_code) list(GET download_status 0 status_code)
if (NOT "${status_code}" STREQUAL "0") if (NOT "${status_code}" STREQUAL "0")
message(STATUS "Downloading ${url}... Failed. Status: ${download_status}") message(STATUS "Downloading ${url}... Failed. Status: ${download_status}")