Skip to content

Fix build with Boost 1.89.0#356

Merged
alanxz merged 1 commit intoalanxz:masterfrom
cho-m:boost-1.89.0
Aug 18, 2025
Merged

Fix build with Boost 1.89.0#356
alanxz merged 1 commit intoalanxz:masterfrom
cho-m:boost-1.89.0

Conversation

@cho-m
Copy link
Contributor

@cho-m cho-m commented Aug 11, 2025

In the upcoming Boost 1.89.0 release, the Boost.System stub library introduced back in 1.691 has been removed (boostorg/system@7a495bb), which causes a CMake error.

This PR change using OPTIONAL_COMPONENTS is based on upstream comment https://github.com/boostorg/system/issues/132#issuecomment-3146378680 given that Boost 1.47 is still supported.

EDIT: Removed OPTIONAL_COMPONENTS as it is only available from CMake 3.11

Footnotes

  1. https://www.boost.org/doc/libs/1_69_0/libs/system/doc/html/system.html#changes_in_boost_1_69

@cho-m cho-m mentioned this pull request Aug 11, 2025
41 tasks
@alanxz alanxz merged commit 2816150 into alanxz:master Aug 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants