diff options
Diffstat (limited to '')
-rw-r--r-- | src/version.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.cmake b/src/version.cmake index 0d1e52a25..02f5ec0a6 100644 --- a/src/version.cmake +++ b/src/version.cmake @@ -40,6 +40,8 @@ if(RET) else() message(STATUS "You are currently on commit ${COMMIT}") + # Give our output variable a default value, because CMake likes to choke on empty variables + set(TAGGEDCOMMITOUT "a") # Get all the tags execute_process(COMMAND "${GIT}" show-ref --tags -d --abbrev RESULT_VARIABLE RET OUTPUT_VARIABLE TAGGEDCOMMITOUT OUTPUT_STRIP_TRAILING_WHITESPACE) |