summaryrefslogtreecommitdiffstats
path: root/Modules/BasicConfigVersion-ExactVersion.cmake.in
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2016-05-19 13:35:01 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-19 15:20:50 (GMT)
commit89113e125d95fc24eaaec59edaa00b6d428111f5 (patch)
treeacd7056658794f514a5d041fef18fb8d409721eb /Modules/BasicConfigVersion-ExactVersion.cmake.in
parente7d5e4b4bf864fa779e2fc90dfb352588bf82246 (diff)
downloadCMake-89113e125d95fc24eaaec59edaa00b6d428111f5.zip
CMake-89113e125d95fc24eaaec59edaa00b6d428111f5.tar.gz
CMake-89113e125d95fc24eaaec59edaa00b6d428111f5.tar.bz2
ExternalProject: Re-implement download logic as a dedicated script
Move the content to a `ExternalProject-download.cmake.in` file and use `configure_file` to generate the final script. Retry logic was not working before because similar script trigger FATAL_ERROR if 'file(DOWNLOAD ...)' exits with nonzero 'status_code'. FATAL_ERROR makes the whole chain of commands stop and '_ep_write_verifyfile_script' retry logic was not used in fact. Default retry number set to 5 with pauses 0, 5, 5, 15, 60 seconds. Some space left for future improvements if needed (90, 300, 1200=20min). Can be controlled by user.
Diffstat (limited to 'Modules/BasicConfigVersion-ExactVersion.cmake.in')
0 files changed, 0 insertions, 0 deletions