Commit aa3808e
Build Boost via its own CMake instead of copying headers
cpp/CMakeLists.txt sets CMP0167 NEW (Boost CONFIG mode), so
find_package(Boost) requires an installed Boost CMake package
(BoostConfig.cmake etc.), not just headers on the include path -
dropping a bare header tree into /usr/local/include left CMake unable
to find a Boost config file at all.
Build Boost from its official 1.87.0 source release using its own
CMake support, restricted via BOOST_INCLUDE_LIBRARIES to the libraries
DOLFINx actually includes (unordered, sort, uuid, lexical_cast,
algorithm, container_hash, multiprecision) plus their transitive
dependencies, which Boost's CMake resolves automatically.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent c5cfa72 commit aa3808e
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
177 | 182 | | |
178 | 183 | | |
179 | 184 | | |
| |||
0 commit comments