Skip to content

Commit fbcb404

Browse files
Final regex fix
1 parent 52e3dd2 commit fbcb404

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/GetBoostLibB2Args.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function(get_boots_lib_b2_args)
7171
else()
7272
list(APPEND b2Args cxxflags=-fPIC cxxflags=-std=c++11)
7373
# Need to configure the toolset based on whatever version CMAKE_CXX_COMPILER is
74-
string(REGEX MATCH "[0-9]+\\.[0-9]+(?:\\.[0-9]+)?" ToolsetVer "${CMAKE_CXX_COMPILER_VERSION}")
74+
string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" ToolsetVer "${CMAKE_CXX_COMPILER_VERSION}")
7575
if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
7676
list(APPEND b2Args toolset=clang-${ToolsetVer})
7777
if(HAVE_LIBC++)

0 commit comments

Comments
 (0)