Skip to content

Fix build with CMake 4#45

Open
panchoh wants to merge 1 commit intostolowski:masterfrom
panchoh:fix/cmake4-build
Open

Fix build with CMake 4#45
panchoh wants to merge 1 commit intostolowski:masterfrom
panchoh:fix/cmake4-build

Conversation

@panchoh
Copy link
Copy Markdown

@panchoh panchoh commented Oct 13, 2025

Hi!

CMake 4, released half a year ago, has dropped compatibility with versions older than 3.5.

This patch bumps the minimal required version of CMake to 3.10 (note: I’ve also tested it with a value of 4.1.2, the latest available CMake release, and it builds ok as well without changes).

I've set it to 3.10 as a middle ground, so it doesn’t get deprecated as soon as 3.5 will be, and yet doesn’t impose a too new CMake release to build (if you are running Debian 13, for example).

This issue has come up recently on nixpkgs, where a migration to CMake 4 is underway. See NixOS/nixpkgs/issues/445447 for reference.

Hope that it helps, and congrats for the project!

Bump minimum required version of CMake to 3.10.
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