mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 12:46:19 +08:00
[downloads] Don't show progress by default
This commit is contained in:
parent
ebb52b8cb1
commit
dc7db25713
@ -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}")
|
||||||
|
Loading…
Reference in New Issue
Block a user