Mercurial > hg > orthanc-stone
changeset 18:61bcf35d4761
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Nov 2016 12:18:53 +0100 |
parents | e707b2cd6608 |
children | 332328330083 |
files | Resources/Orthanc/Resources/CMake/DownloadPackage.cmake |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/Orthanc/Resources/CMake/DownloadPackage.cmake Thu Nov 10 10:00:12 2016 +0100 +++ b/Resources/Orthanc/Resources/CMake/DownloadPackage.cmake Wed Nov 16 12:18:53 2016 +0100 @@ -76,7 +76,9 @@ message(FATAL_ERROR "CMake is not allowed to download from Internet. Please set the ALLOW_DOWNLOADS option to ON") endif() - file(DOWNLOAD "${Url}" "${TMP_PATH}" SHOW_PROGRESS EXPECTED_MD5 "${MD5}") + file(DOWNLOAD "${Url}" "${TMP_PATH}" + SHOW_PROGRESS EXPECTED_MD5 "${MD5}" + TIMEOUT 5 INACTIVITY_TIMEOUT 5) else() message("Using local copy of ${Url}") endif()