Skip to content

Adopt CMake minimum version number #4789

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a4z
Copy link
Contributor

@a4z a4z commented May 11, 2025

Problem: CMake build is broken with recent CMake versions (4 and above)

Solution: Set CMake version to a reasonable minimum

Fix #4786

Additional information: This PR sets the CMake version to a min/max range so CMake can determine the best behaviour for the existing CMake version.

This will still allow CMake 3.0 to work, while not breaking for CMake 4.0,
CMake 3.0 is 10+ year old, so zmq will still support older systems

CMake 4.0 deprecated old versions, which breaks all CIs that update CMake.

There is no technical value to stick to an outdated unsupported CMake version,
This PR sets the minimum version to a reasonable range.

Fix zeromq#4786
@a4z
Copy link
Contributor Author

a4z commented May 11, 2025

None of the CI checks have to do with the change, but are related to other things (like changes in the test runners)

@a4z
Copy link
Contributor Author

a4z commented May 11, 2025

Just found out this looks like a duplicate of #4776 ,
But I also think this change is more reasonable

but anyhow, whatever fixes the problem, it should already be in main

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.

LibZMQ cannot be built with CMake Version 4.0.1 on Windows
1 participant