summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-04-25 18:06:10 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-04-25 18:06:10 (GMT)
commit4b4a98d72298e892b17aa0d14462bab7836a7c1d (patch)
tree88b913206fcaf75993817df9aee8a6d50ae456ae
parentd2230cdb5ed291087c9f1dd3fe6d66f2c5a8c760 (diff)
parent64818c107737ad1bc5ee57a0ddeac1fc1e945faf (diff)
downloadCMake-4b4a98d72298e892b17aa0d14462bab7836a7c1d.zip
CMake-4b4a98d72298e892b17aa0d14462bab7836a7c1d.tar.gz
CMake-4b4a98d72298e892b17aa0d14462bab7836a7c1d.tar.bz2
Merge topic 'fix-ExternalProject-COMMAND-niggly'
64818c1 ExternalProject: Add missing COMMAND keyword
-rw-r--r--Modules/ExternalProject.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index b6fe190..301d1fc 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -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()