Skip to content

Commit 7a4ec07

Browse files
yuhaijun999ketor
authored andcommitted
[fix][cmake] Fixed the display version information not showing the tags used by git using lightweight tags.
1 parent 8a64c50 commit 7a4ec07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ endif()
667667
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
668668

669669
execute_process(
670-
COMMAND git describe --always --dirty
670+
COMMAND git describe --tags --always --dirty
671671
OUTPUT_VARIABLE GIT_VERSION
672672
OUTPUT_STRIP_TRAILING_WHITESPACE)
673673

0 commit comments

Comments
 (0)