diff options
author | Aki <please@ignore.pl> | 2024-02-25 15:09:21 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-02-25 15:09:21 +0100 |
commit | 9b12b549278c3dd462ee070f3520a31606d3f4dc (patch) | |
tree | bc7e323253eda341a64c9dfcf4aa85a412196f88 | |
parent | 3696b0e54454d7409a67bacc24da1e0e830676ab (diff) | |
download | starshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.zip starshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.tar.gz starshatter-9b12b549278c3dd462ee070f3520a31606d3f4dc.tar.bz2 |
Version may now contain -dirty and -broken suffixes
-rw-r--r-- | cmake/modules/GitDescribe.cmake | 2 |
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 |