1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-29 09:45:34 +00:00

Give git-version its name back

This commit is contained in:
AnyOldName3 2024-02-25 19:05:38 +00:00
parent 42c7fc8e92
commit 93a84b38ac

View file

@ -12,7 +12,7 @@ set (VERSION_CPP_FILE "components/version/version.cpp")
if (GIT_CHECKOUT) if (GIT_CHECKOUT)
get_generator_is_multi_config(multi_config) get_generator_is_multi_config(multi_config)
add_custom_target ( add_custom_target (get-version
BYPRODUCTS "${OpenMW_BINARY_DIR}/${VERSION_CPP_FILE}" BYPRODUCTS "${OpenMW_BINARY_DIR}/${VERSION_CPP_FILE}"
DEPENDS "${OpenMW_SOURCE_DIR}/${VERSION_CPP_FILE}.in" DEPENDS "${OpenMW_SOURCE_DIR}/${VERSION_CPP_FILE}.in"
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}