Merge topic 'fix-ExternalProject-COMMAND-niggly'

64818c1 ExternalProject: Add missing COMMAND keyword
This commit is contained in:
David Cole 2012-04-25 14:06:10 -04:00 committed by CMake Topic Stage
commit 4b4a98d722
1 changed files with 2 additions and 1 deletions

View File

@ -1141,7 +1141,8 @@ function(_ep_add_download_command name)
set(comment "Performing download step (verify and extract) for '${name}'")
endif()
_ep_write_verifyfile_script("${stamp_dir}/verify-${name}.cmake" "${file}" "${md5}")
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/verify-${name}.cmake)
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/verify-${name}.cmake
COMMAND)
_ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${name}" "${file}" "${source_dir}")
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake)
endif()