diff options
author | David Cole <david.cole@kitware.com> | 2009-09-18 16:56:49 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-09-18 16:56:49 (GMT) |
commit | cba1dd59fdd96b9f4b146a4d647212c2bd736522 (patch) | |
tree | b77b4052d1379bc7783085494c23b822b6db1d47 /Modules/ExternalProject.cmake | |
parent | 78e0bfa0fdd2376e89bb7750904db57b5c8bf104 (diff) | |
download | CMake-cba1dd59fdd96b9f4b146a4d647212c2bd736522.zip CMake-cba1dd59fdd96b9f4b146a4d647212c2bd736522.tar.gz CMake-cba1dd59fdd96b9f4b146a4d647212c2bd736522.tar.bz2 |
Better error message tells user possible ways to resolve the error.
Diffstat (limited to 'Modules/ExternalProject.cmake')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index e151096..aacf0b8 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -673,7 +673,7 @@ function(_ep_add_download_command name) list(APPEND cmd ${CMAKE_COMMAND} -P ${stamp_dir}/extract-${name}.cmake) endif() else() - message(SEND_ERROR "error: no download info for '${name}'") + 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() ExternalProject_Add_Step(${name} download |