summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-09-08 20:38:49 (GMT)
committerBrad King <brad.king@kitware.com>2014-09-08 20:38:49 (GMT)
commit0161761d684ccd5c15f2ec3a94688f885e195022 (patch)
tree88149b27832ef755ce222f13ea108d33c89ff8fc /Modules
parentd2364f15ae537654b71ec151cb0e742ce9ca931a (diff)
parent9f49ac3df0f0324d72daa54e2c005c30f4d74414 (diff)
downloadCMake-0161761d684ccd5c15f2ec3a94688f885e195022.zip
CMake-0161761d684ccd5c15f2ec3a94688f885e195022.tar.gz
CMake-0161761d684ccd5c15f2ec3a94688f885e195022.tar.bz2
Merge branch 'ExternalProject-download-loop' into release
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 17cb866..a1c7629 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -607,6 +607,7 @@ Retrying download.
file(REMOVE \"\${file}\")
execute_process(COMMAND \${CMAKE_COMMAND} -P \"${download_script}\")
endif()
+ math(EXPR attempt \"\${attempt} + 1\")
endwhile()
if(\${succeeded})