Skip to content

Fix build with Boost 1.89.0#570

Closed
cho-m wants to merge 1 commit intofacebook:mainfrom
cho-m:boost-1.89.0
Closed

Fix build with Boost 1.89.0#570
cho-m wants to merge 1 commit intofacebook:mainfrom
cho-m:boost-1.89.0

Conversation

@cho-m
Copy link

@cho-m cho-m commented Aug 12, 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 when system component is required.

This PR change using OPTIONAL_COMPONENTS is based on upstream comment https://github.com/boostorg/system/issues/132#issuecomment-3146378680 given the Boost 1.58 minimum.

Increasing minimum to 1.69 allows avoiding OPTIONAL_COMPONENTS

Footnotes

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

Signed-off-by: Michael Cho <michael@michaelcho.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant