|
|
@ -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()
|
|
|
|