File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ function(boost_lib_installer req_boost_version req_boost_libs)
180180 # b2 headers
181181 if (NOT EXISTS ${install_dir} /boost/)
182182 message (STATUS "Generating headers ..." )
183- execute_process (COMMAND ${b2_command} headers WORKING_DIRECTORY ${install_dir} RESULT_VARIABLE err OUTPUT_VARIABLE err_msg)
183+ execute_process (COMMAND ${b2_command} -- ignore -site-config headers WORKING_DIRECTORY ${install_dir} RESULT_VARIABLE err OUTPUT_VARIABLE err_msg)
184184 if (err)
185185 message (FATAL_ERROR "b2 error:\n ${err_msg} " )
186186 endif (err)
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ function(get_boots_lib_b2_args)
1818 stage
1919 --stagedir=${stage_dir}
2020 -d+2
21- --hash)
21+ --hash
22+ --ignore -site-config)
2223
2324 message (STATUS "Generating b2 args." )
2425
@@ -70,7 +71,7 @@ function(get_boots_lib_b2_args)
7071 else ()
7172 list (APPEND b2Args cxxflags=-fPIC cxxflags=-std=c++11)
7273 # Need to configure the toolset based on whatever version CMAKE_CXX_COMPILER is
73- string (REGEX MATCH "[0-9]+\\ .[0-9]+" ToolsetVer "${CMAKE_CXX_COMPILER_VERSION} " )
74+ string (REGEX MATCH "[0-9]+\\ .[0-9]+( \\ .[0-9]+)? " ToolsetVer "${CMAKE_CXX_COMPILER_VERSION} " )
7475 if (CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$" )
7576 list (APPEND b2Args toolset=clang-${ToolsetVer} )
7677 if (HAVE_LIBC++)
@@ -83,4 +84,4 @@ function(get_boots_lib_b2_args)
8384 endif ()
8485
8586 set (b2Args "${b2Args} " PARENT_SCOPE)
86- endfunction (get_boots_lib_b2_args)
87+ endfunction (get_boots_lib_b2_args)
You can’t perform that action at this time.
0 commit comments