diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/generate_version_file.cmake | 6 |
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) |