summaryrefslogtreecommitdiffhomepage
path: root/cmake/modules/GitDescribe.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/GitDescribe.cmake')
-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