diff options
author | Alex Neundorf <neundorf@kde.org> | 2010-04-10 21:46:47 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2010-04-10 21:49:09 (GMT) |
commit | 8d907e298bb76078e6851b520bc0afa18eb8ee3f (patch) | |
tree | 818daea60091b43663cb85dd60b54b4853ca0892 /Modules/ExternalProject.cmake | |
parent | fcdbe001ea87462997b96024ee8c166884257883 (diff) | |
download | CMake-8d907e298bb76078e6851b520bc0afa18eb8ee3f.zip CMake-8d907e298bb76078e6851b520bc0afa18eb8ee3f.tar.gz CMake-8d907e298bb76078e6851b520bc0afa18eb8ee3f.tar.bz2 |
-no change, don't know why git wants to commit something
(I accidentially removed ExternalProject.cmake from git by doing
mv ExternalProject.cmake ExternalProject.cmake.save
git checkout master
which I hoped would basically do a revert as it does with svn and cvs, but it
deleted the file from git)
Alex
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index 0302d5c..5f5dec0 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -713,6 +713,8 @@ 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() |