summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-02-25 15:09:21 +0100
committerAki <please@ignore.pl>2024-02-25 15:09:21 +0100
commit9b12b549278c3dd462ee070f3520a31606d3f4dc (patch)
treebc7e323253eda341a64c9dfcf4aa85a412196f88
parent3696b0e54454d7409a67bacc24da1e0e830676ab (diff)
downloadstarshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.zip
starshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.tar.gz
starshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.tar.bz2
Version may now contain -dirty and -broken suffixes
-rw-r--r--cmake/modules/GitDescribe.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/GitDescribe.cmake b/cmake/modules/GitDescribe.cmake
index 10b54ed..2242bd5 100644
--- a/cmake/modules/GitDescribe.cmake
+++ b/cmake/modules/GitDescribe.cmake
@@ -3,7 +3,7 @@
function(git_describe VAR)
execute_process(
- COMMAND git describe --tags HEAD
+ COMMAND git describe --tags --dirty --broken
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE DESCRIBE_RESULT
OUTPUT_VARIABLE DESCRIBE_OUTPUT