summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-03-11 19:14:41 +0100
committerAki <please@ignore.pl>2024-04-05 19:39:02 +0200
commit6586774cb4ade30b6f5c5ba90a107c4d8fb402e3 (patch)
tree00eb3eb99c925f3ad223ee1724a35fc28e8df8c4 /cmake
parent22207b852538d014720579b20dc35e03b5331250 (diff)
downloadkurator-6586774cb4ade30b6f5c5ba90a107c4d8fb402e3.zip
kurator-6586774cb4ade30b6f5c5ba90a107c4d8fb402e3.tar.gz
kurator-6586774cb4ade30b6f5c5ba90a107c4d8fb402e3.tar.bz2
Renamed cmake version variable to VERSION
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/generate_version_file.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/modules/generate_version_file.cmake b/cmake/modules/generate_version_file.cmake
index bbe34c6..cdbce42 100644
--- a/cmake/modules/generate_version_file.cmake
+++ b/cmake/modules/generate_version_file.cmake
@@ -10,11 +10,11 @@ execute_process(
OUTPUT_STRIP_TRAILING_WHITESPACE
)
if(NOT PARSE_RESULT)
- set(HASH "${PARSE_OUTPUT}")
+ set(VERSION "${PARSE_OUTPUT}")
if(NOT ${STATUS_OUTPUT})
- set(HASH "${HASH}*")
+ set(VERSION "${VERSION}*")
endif()
else()
- set(HASH "NOTFOUND")
+ set(VERSION "NOTFOUND")
endif()
configure_file("${TEMPLATE}" "${OUTPUT}" @ONLY)