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 c467b17 commit c21dfbeCopy full SHA for c21dfbe
CMakeLists.txt
@@ -72,7 +72,7 @@ file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/git-version.txt"
72
if (NOT FLIBCPP_VERSION_STRING MATCHES "\\$Format:")
73
# First line are decorators, second is hash
74
list(GET FLIBCPP_VERSION_STRING 0 _tag)
75
- string(REGEX REPLACE ".*, *(tag: *)?" "" _tag "${_tag}")
+ string(REGEX REPLACE "tag: *" "" _tag "${_tag}")
76
list(GET FLIBCPP_VERSION_STRING 1 _hash)
77
string(REGEX REPLACE " +" "" _hash "${_hash}")
78
set(FLIBCPP_VERSION_STRING "${_tag}-g${_hash}")
0 commit comments