summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-04-10 23:48:43 +0200
committerAlex Neundorf <neundorf@kde.org>2010-04-10 23:49:09 +0200
commitf99771ce0a42f91f825c941cc8f0cbc4514875a7 (patch)
treeb41d17a5f65d4b601b540c84a7aa393607af7b73 /Modules
parent8d907e298bb76078e6851b520bc0afa18eb8ee3f (diff)
downloadcmake-f99771ce0a42f91f825c941cc8f0cbc4514875a7.tar.gz
-revert the previous unintended commit
Alex
Diffstat (limited to 'Modules')
-rw-r--r--Modules/ExternalProject.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 5f5dec014c..0302d5c4b3 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -713,8 +713,6 @@ function(_ep_add_download_command name)
_ep_write_extractfile_script("${stamp_dir}/extract-${name}.cmake" "${file}" "${tmp_dir}" "${source_dir}")
list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake)
endif()
- elseif(source_dir AND EXISTS "${source_dir}")
- set(cmd echo Sources present at ${source_dir})
else()
message(SEND_ERROR "error: no download info for '${name}' -- please specify existing SOURCE_DIR or one of URL, CVS_REPOSITORY and CVS_MODULE, SVN_REPOSITORY or DOWNLOAD_COMMAND")
endif()