We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e35952 commit 28b1d24Copy full SHA for 28b1d24
CMakeLists.txt
@@ -22,7 +22,7 @@ if (GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
22
# delete the unstable tag ...
23
# COMMAND ${GIT_EXECUTABLE} tag -d unstable
24
# ... to get the real versioned tag
25
- COMMAND ${GIT_EXECUTABLE} describe --dirty
+ COMMAND ${GIT_EXECUTABLE} describe --tags --dirty
26
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
27
OUTPUT_VARIABLE VERSION
28
OUTPUT_STRIP_TRAILING_WHITESPACE
0 commit comments