mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
build: do not request the header-only Boost.System component (build against Boost 1.70+)
Boost.System has been header-only since Boost 1.69 and its compiled stub library was removed in newer Boost, so listing system in the requested find_package components makes configuration fail on Boost 1.70 and up (for example Boost 1.90 errors with "Could not find boost_system"). Boost.System is still pulled in transitively by thread / iostreams where it is needed, so drop it from the explicit component list. Verified: with this change IfcOpenShell configures and builds IfcConvert cleanly against Homebrew Boost 1.90 and OpenCASCADE 7.9.2. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
committed by
Thomas Krijnen
parent
0d70812641
commit
7e3d2f936d
@@ -314,8 +314,12 @@ if(WASM_BUILD)
|
||||
else()
|
||||
# @todo review this, shouldn't this be all possible header-only now?
|
||||
# ... or rewritten using C++17 features?
|
||||
# Boost.System has been header-only since 1.69 and its compiled stub library
|
||||
# was dropped in newer Boost, so requesting it as a component makes
|
||||
# find_package fail on Boost 1.70 and up (for example Boost 1.90). It is
|
||||
# still pulled in transitively by thread / iostreams where needed, so do not
|
||||
# request it explicitly.
|
||||
set(BOOST_COMPONENTS
|
||||
system
|
||||
program_options
|
||||
regex
|
||||
thread
|
||||
|
||||
Reference in New Issue
Block a user