Skip to content

lib/zlib: Bump minimum CMake version to 3.6 #82

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 3 commits into
base: master
Choose a base branch
from

Conversation

trinitronx
Copy link

@trinitronx trinitronx commented May 23, 2025

Fixing CMake version dependency related to: TheAssassin/AppImageLauncher#717

@TheAssassin
Copy link
Member

Out of curiosity, why 3.6?

@trinitronx
Copy link
Author

trinitronx commented May 23, 2025

Out of curiosity, why 3.6?

The error message mentions that CMake < 3.5 compatibility has been deprecated:

  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

EDIT: Note that this was building with cmake version 4.0.2-1 from Arch Linux extra/cmake package.

@TheAssassin
Copy link
Member

I'll have to fix the CI first.

@trinitronx
Copy link
Author

trinitronx commented May 23, 2025

FYI: It also seems that CMake version needs to be updated in at least a few more sub-dependencies:

@trinitronx
Copy link
Author

trinitronx commented May 23, 2025

Looks like it also needs one more update here 1:

Footnotes

  1. EDIT: Actually updates in a few more places, and probably this CMake min version needs to propagate to other sub-dependencies such as azubieta/xdg-utils-cxx.

@TheAssassin
Copy link
Member

Please don't hesitate to open more PRs, I'll happily merge all I can.

@TheAssassin
Copy link
Member

Re. args, you can push an update to your branch as needed. For the record, < 3.5 means 3.5 is still supported (3.6 would be required if it was <= 3.5; < excludes the provided value).

@trinitronx
Copy link
Author

trinitronx commented May 23, 2025

Ok, pushed a few more PRs:

Once merged, we need to bump those GIT_TAG refs also to propagate the changes from sub-dependencies up:

@trinitronx
Copy link
Author

Re. args, you can push an update to your branch as needed.

Ok, pushed here in 53198ac

For the record, < 3.5 means 3.5 is still supported (3.6 would be required if it was <= 3.5; < excludes the provided value).

Makes sense. I must've misread it as <= earlier. I guess 3.6 gives us a bit more time if they decide to deprecate 3.5 at some point. Also it has more ninja (features... that is 😅)

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