mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:01:07 +00:00
cmake: require just 2 boost component by default program_options, regex
Tested locally that build succeeds with all other components being header-only or unused by now. `regex` is only needed for Boost <1.76, see https://www.boost.org/releases/1.76.0/
This commit is contained in:
+1
-1
@@ -421,7 +421,7 @@ if /I "%VS_PLATFORM%"=="x64" (
|
||||
echo "Failed to identify architecture"
|
||||
GOTO :Error
|
||||
)
|
||||
set BOOST_LIBS=--with-system --with-regex --with-thread --with-program_options --with-date_time --with-iostreams --with-filesystem
|
||||
set BOOST_LIBS=--with-regex --with-program_options --with-iostreams --with-filesystem
|
||||
:: NOTE Boost is fast to build with limited set of libraries so build it always.
|
||||
cd "%DEPENDENCY_DIR%"
|
||||
call cecho.cmd 0 13 "Building %DEPENDENCY_NAME% %BOOST_LIBS% Please be patient, this will take a while."
|
||||
|
||||
@@ -307,11 +307,8 @@ def install_boost(
|
||||
sys.exit(1)
|
||||
|
||||
BOOST_LIBS = (
|
||||
"--with-system",
|
||||
"--with-program_options",
|
||||
"--with-regex",
|
||||
"--with-thread",
|
||||
"--with-date_time",
|
||||
"--with-iostreams",
|
||||
"--with-filesystem",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user