Merge topic 'ExternalProject-download-loop'
9f49ac3d
ExternalProject: Avoid infinite loop on file download hash mismatch
This commit is contained in:
commit
371f06d005
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue