Skip to content

[cmake] raise min required version to 3.26 - #23537

Draft
ferdymercury wants to merge 5 commits into
root-project:masterfrom
ferdymercury:cmake326
Draft

ferdymercury wants to merge 5 commits into
root-project:masterfrom
ferdymercury:cmake326

Conversation

@ferdymercury

@ferdymercury ferdymercury commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

This Pull request:

Changes or fixes:

Do not merge yet, is for 6.44

Expansion of #19941
exploring future according to #23385

This version of CMake was released in March 2022
https://github.com/Kitware/CMake/releases/tag/v3.23.0

This version is required to use FILE_SETs, which could help towards root-project#16327 and root-project#18419.

Since cmake_minimum_required updates the cmake_policy from 3.20 to 3.23, we need to take care of a change that happened from 3.20 to 3.21 that leads to an error
in the CheckCompiler CMake module, so set the proper policy flag to old to avoid that error on some platforms.
@ferdymercury ferdymercury added this to the 6.44.00 milestone Sep 29, 2026
@guitargeek

Copy link
Copy Markdown
Contributor

Thank you! So if everything goes to plan, this PR should only fail on Ubuntu 22.04 here

@ferdymercury

Copy link
Copy Markdown
Collaborator Author

this PR should only fail on Ubuntu 22.04 here

If I recall correctly, Ubuntu 22.04 CI-image was using a custom CMake installation in /opt?

@ferdymercury

Copy link
Copy Markdown
Collaborator Author

Debian13 seems stuck. All the rest looks good / unrelated CI failures.

@github-actions

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 15h 16m 30s ⏱️
 3 869 tests  3 867 ✅ 0 💤 2 ❌
72 388 runs  72 386 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit 9913ac9.

This branch has not been deployed

No deployments
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