Skip to content

Restores CMake's minimum version to 3.8 in non-module builds - #242

Merged
apolukhin merged 1 commit into
boostorg:developfrom
anarthal:develop
Nov 1, 2026
Merged

apolukhin merged 1 commit into
boostorg:developfrom
anarthal:develop

Conversation

@anarthal

Copy link
Copy Markdown
Contributor

No description provided.

@anarthal

Copy link
Copy Markdown
Contributor Author

CMake's minimum version was raised to 3.28 recently. This is only required if BOOST_USE_MODULES=ON. 3.28 is relatively recent, and causes the entire Boost superproject to not be configurable with CMake versions older than 3.28, even if BOOST_USE_MODULES=OFF. Boost's current baseline is 3.8.

This PR scopes the version requirement to when BOOST_USE_MODULES=ON.

Caught by Boost.MySQL CIs.

@apolukhin
apolukhin merged commit fab3579 into boostorg:develop Nov 1, 2026
12 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