Merge topic 'ExternalProject-download-loop'

9f49ac3d ExternalProject: Avoid infinite loop on file download hash mismatch
This commit is contained in:
Brad King 2014-09-09 11:23:30 -04:00 committed by CMake Topic Stage
commit 371f06d005
1 changed files with 1 additions and 0 deletions

View File

@ -711,6 +711,7 @@ Retrying download.
file(REMOVE \"\${file}\")
execute_process(COMMAND \${CMAKE_COMMAND} -P \"${download_script}\")
endif()
math(EXPR attempt \"\${attempt} + 1\")
endwhile()
if(\${succeeded})