File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,16 @@ function(get_boots_lib_b2_args)
71
71
else ()
72
72
list (APPEND b2Args cxxflags=-fPIC cxxflags=-std=c++11 )
73
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} " )
74
+ # string(REGEX MATCH "[0-9]+\\.[0-9]+(\\.[0-9]+)?" ToolsetVer "${CMAKE_CXX_COMPILER_VERSION}")
75
75
if (CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$" )
76
- list (APPEND b2Args toolset=clang-${ToolsetVer} )
76
+ # list(APPEND b2Args toolset=clang-${ToolsetVer})
77
+ list (APPEND b2Args toolset=clang )
77
78
if (HAVE_LIBC++ )
78
79
list (APPEND b2Args cxxflags=-stdlib=libc++ linkflags=-stdlib=libc++ )
79
80
endif ()
80
81
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" )
81
- list (APPEND b2Args toolset=gcc-${ToolsetVer} )
82
+ # list(APPEND b2Args toolset=gcc-${ToolsetVer})
83
+ list (APPEND b2Args toolset=gcc )
82
84
endif ()
83
85
endif ()
84
86
endif ()
You can’t perform that action at this time.
0 commit comments