Skip to content

CMake: Fix build with Boost 1.89.0#296

Merged
Sude- merged 1 commit intoSude-:masterfrom
cho-m:boost-1.89.0
Aug 11, 2025
Merged

CMake: Fix build with Boost 1.89.0#296
Sude- merged 1 commit intoSude-:masterfrom
cho-m:boost-1.89.0

Conversation

@cho-m
Copy link
Copy Markdown
Contributor

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

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

I noticed this while testing 1.89.0.beta1 in Homebrew Homebrew/homebrew-core#233031.

I wasn't sure if there was a minimum Boost version for this project. With Boost 1.691 or later, you can just remove system. However, for older versions, upstream has recommended OPTIONAL_COMPONENTS, see: https://github.com/boostorg/system/issues/132#issuecomment-3146378680

Footnotes

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

@Sude- Sude- merged commit 2c55e27 into Sude-:master Aug 11, 2025
@cho-m cho-m deleted the boost-1.89.0 branch August 11, 2025 12:38
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