|
|
@ -260,6 +260,7 @@ SET_PROPERTY(TARGET dfhack-version APPEND PROPERTY COMPILE_DEFINITIONS
|
|
|
|
ADD_CUSTOM_TARGET(git-describe
|
|
|
|
ADD_CUSTOM_TARGET(git-describe
|
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
COMMAND ${CMAKE_COMMAND}
|
|
|
|
-D dfhack_SOURCE_DIR:STRING=${dfhack_SOURCE_DIR}
|
|
|
|
-D dfhack_SOURCE_DIR:STRING=${dfhack_SOURCE_DIR}
|
|
|
|
|
|
|
|
-D GIT_EXECUTABLE:STRING=${GIT_EXECUTABLE}
|
|
|
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/git-describe.cmake
|
|
|
|
-P ${CMAKE_CURRENT_SOURCE_DIR}/git-describe.cmake
|
|
|
|
COMMENT "Obtaining git commit information"
|
|
|
|
COMMENT "Obtaining git commit information"
|
|
|
|
)
|
|
|
|
)
|
|
|
|