Suggest --init flag in missing-submodule messages

develop
lethosor 2015-10-02 16:59:50 -04:00
parent ce80a42b24
commit 3b8d5a6a95
1 changed files with 1 additions and 1 deletions

@ -13,7 +13,7 @@ ENDMACRO()
MACRO(DFHACK_3RDPARTY_SCRIPT_REPO repo_path) MACRO(DFHACK_3RDPARTY_SCRIPT_REPO repo_path)
if(NOT EXISTS ${dfhack_SOURCE_DIR}/scripts/3rdparty/${repo_path}/CMakeLists.txt) if(NOT EXISTS ${dfhack_SOURCE_DIR}/scripts/3rdparty/${repo_path}/CMakeLists.txt)
MESSAGE(SEND_ERROR "Script submodule scripts/3rdparty/${repo_path} does not exist - run `git submodule update`.") MESSAGE(SEND_ERROR "Script submodule scripts/3rdparty/${repo_path} does not exist - run `git submodule update --init`.")
endif() endif()
add_subdirectory(3rdparty/${repo_path}) add_subdirectory(3rdparty/${repo_path})
ENDMACRO() ENDMACRO()