summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnyOldName3 <krizdjali+gitlab@gmail.com>2024-02-25 19:05:38 +0000
committerAnyOldName3 <krizdjali+gitlab@gmail.com>2024-02-25 19:05:38 +0000
commit93a84b38ac47d31d6e3131130f3a077e07097cb3 (patch)
treedc232c11ad99cb001487dceba876f98f3f2a1059
parent42c7fc8e921272d18830054fd217e6188b81a110 (diff)
Give git-version its name back
-rw-r--r--components/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt
index 730423d84e..4b3a661253 100644
--- a/components/CMakeLists.txt
+++ b/components/CMakeLists.txt
@@ -12,7 +12,7 @@ set (VERSION_CPP_FILE "components/version/version.cpp")
if (GIT_CHECKOUT)
get_generator_is_multi_config(multi_config)
- add_custom_target (
+ add_custom_target (get-version
BYPRODUCTS "${OpenMW_BINARY_DIR}/${VERSION_CPP_FILE}"
DEPENDS "${OpenMW_SOURCE_DIR}/${VERSION_CPP_FILE}.in"
COMMAND ${CMAKE_COMMAND}