Skip to content

Commit f0047cd

Browse files
Ignore system config (for Gentoo)
1 parent 6192657 commit f0047cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cmake/BoostLibInstaller.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

cmake/GetBoostLibB2Args.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)