Mercurial > hg > orthanc
comparison Resources/CMake/DownloadPackage.cmake @ 2154:5d8e6fab98dd
increased timeout for buildbot
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Nov 2016 12:34:15 +0100 |
parents | 47daf8022808 |
children | 3eda46f91834 |
comparison
equal
deleted
inserted
replaced
2153:47daf8022808 | 2154:5d8e6fab98dd |
---|---|
76 message(FATAL_ERROR "CMake is not allowed to download from Internet. Please set the ALLOW_DOWNLOADS option to ON") | 76 message(FATAL_ERROR "CMake is not allowed to download from Internet. Please set the ALLOW_DOWNLOADS option to ON") |
77 endif() | 77 endif() |
78 | 78 |
79 file(DOWNLOAD "${Url}" "${TMP_PATH}" | 79 file(DOWNLOAD "${Url}" "${TMP_PATH}" |
80 SHOW_PROGRESS EXPECTED_MD5 "${MD5}" | 80 SHOW_PROGRESS EXPECTED_MD5 "${MD5}" |
81 TIMEOUT 5 INACTIVITY_TIMEOUT 5) | 81 TIMEOUT 60 INACTIVITY_TIMEOUT 60) |
82 else() | 82 else() |
83 message("Using local copy of ${Url}") | 83 message("Using local copy of ${Url}") |
84 endif() | 84 endif() |
85 | 85 |
86 GetUrlExtension(TMP_EXTENSION "${Url}") | 86 GetUrlExtension(TMP_EXTENSION "${Url}") |