From cba1dd59fdd96b9f4b146a4d647212c2bd736522 Mon Sep 17 00:00:00 2001 From: David Cole Date: Fri, 18 Sep 2009 12:56:49 -0400 Subject: Better error message tells user possible ways to resolve the error. --- Modules/ExternalProject.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12