[cmake] Set inactivity timeout during icu download to 300 seconds.

Fixes #2972.
This commit is contained in:
Egor Pugin 2020-05-09 18:55:45 +03:00 committed by GitHub
parent fe966cc0b1
commit e720a26745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ if (MSVC AND NOT SW_BUILD AND NOT USE_SYSTEM_ICU)
"http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-Win${ARCH_DIR_NAME}-msvc10.zip"
"${icu_archive}"
SHOW_PROGRESS
INACTIVITY_TIMEOUT 60 # seconds
INACTIVITY_TIMEOUT 300 # seconds
EXPECTED_HASH MD5=${icu_hash}
)
execute_process(COMMAND ${CMAKE_COMMAND} -E tar xz "${icu_archive}"