We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d8307 commit bc8184aCopy full SHA for bc8184a
cmake/git_version.cmake
@@ -7,7 +7,7 @@ macro(set_git_version VERSION)
7
if(GIT_EXECUTABLE)
8
# Generate a git-describe version string from Git repository tags
9
execute_process(
10
- COMMAND ${GIT_EXECUTABLE} describe --tags --dirty --match "v*"
+ COMMAND ${GIT_EXECUTABLE} describe --tags --dirty --match "*.*.*"
11
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
12
OUTPUT_VARIABLE GIT_DESCRIBE_VERSION
13
RESULT_VARIABLE GIT_DESCRIBE_ERROR_CODE
0 commit comments