mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Better error message tells user possible ways to resolve the error.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user