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 cb10120 commit 52e3dd2Copy full SHA for 52e3dd2
cmake/GetBoostLibB2Args.cmake
@@ -71,7 +71,7 @@ function(get_boots_lib_b2_args)
71
else()
72
list(APPEND b2Args cxxflags=-fPIC cxxflags=-std=c++11)
73
# 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}")
+ string(REGEX MATCH "[0-9]+\\.[0-9]+(?:\\.[0-9]+)?" ToolsetVer "${CMAKE_CXX_COMPILER_VERSION}")
75
if(CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
76
list(APPEND b2Args toolset=clang-${ToolsetVer})
77
if(HAVE_LIBC++)
@@ -84,4 +84,4 @@ function(get_boots_lib_b2_args)
84
endif()
85
86
set(b2Args "${b2Args}" PARENT_SCOPE)
87
-endfunction(get_boots_lib_b2_args)
+endfunction(get_boots_lib_b2_args)
0 commit comments