Skip to content

Conversation

@cho-m
Copy link

@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.

The OPTIONAL_COMPONENTS usage is based on upstream recommendation at https://github.com/boostorg/system/issues/132#issuecomment-3146378680. This has been part of FindBoost since 3.112 so should match minimum CMake.

If needed, could check Boost_SYSTEM_FOUND and Boost_{MAJOR,MINOR}_VERSION to continue erroring if Boost.System < 1.69 is not found.

Footnotes

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

  2. https://cmake.org/cmake/help/v3.11/module/FindBoost.html

@cho-m cho-m requested a review from a team as a code owner August 11, 2025 21:25
@cho-m cho-m mentioned this pull request Aug 11, 2025
41 tasks
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.

1 participant