Skip to content

Fix build with Boost 1.89.0#1038

Merged
pavel-odintsov merged 1 commit intopavel-odintsov:masterfrom
cho-m:boost-1.89.0
Aug 18, 2025
Merged

Fix build with Boost 1.89.0#1038
pavel-odintsov merged 1 commit intopavel-odintsov: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, Boost.System stub library 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.

Moved system to OPTIONAL_COMPONENTS based on upstream suggestion at boostorg/system#132 (comment)

Though there is a TODO comment mentioning not needing system so an alternative could be to remove it. This is definitely safe for Boost 1.691 or newer where Boost.System is header-only though would need confirmation on older Boost.

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
@pavel-odintsov pavel-odintsov merged commit d9cdaf2 into pavel-odintsov:master Aug 18, 2025
5 checks passed
@pavel-odintsov
Copy link
Owner

Hello!

Thank very much for PR and all the background story! Let's check if it works fine this way and then we will remove it completely.

@pavel-odintsov
Copy link
Owner

I completely removed dependency on system and it works fine now :)

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