Skip to content

Commit c21dfbe

Browse files
committed
Fix version string on Github-distributed file
1 parent c467b17 commit c21dfbe

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
@@ -72,7 +72,7 @@ file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/git-version.txt"
7272
if (NOT FLIBCPP_VERSION_STRING MATCHES "\\$Format:")
7373
# First line are decorators, second is hash
7474
list(GET FLIBCPP_VERSION_STRING 0 _tag)
75-
string(REGEX REPLACE ".*, *(tag: *)?" "" _tag "${_tag}")
75+
string(REGEX REPLACE "tag: *" "" _tag "${_tag}")
7676
list(GET FLIBCPP_VERSION_STRING 1 _hash)
7777
string(REGEX REPLACE " +" "" _hash "${_hash}")
7878
set(FLIBCPP_VERSION_STRING "${_tag}-g${_hash}")

0 commit comments

Comments
 (0)