Skip to content

Remove explicit CMake version requirement#149

Merged
SaschaWillems merged 2 commits intomainfrom
android_cmake
Oct 1, 2025
Merged

Remove explicit CMake version requirement#149
SaschaWillems merged 2 commits intomainfrom
android_cmake

Conversation

@SaschaWillems
Copy link
Copy Markdown
Collaborator

@SaschaWillems SaschaWillems commented Aug 18, 2025

This PR removes the explicit CMake version requirement for Android builds. It was pinned at 4.02, so everyone with a different version would see an error that CMake 4.0.2 could not be found. Even if you have a newer version installed.

Having that explicit requirement pinned to a single version is not necessary and as far as I can tell is safe to remove.

This PR makes it a min. requirement instead.

@SaschaWillems
Copy link
Copy Markdown
Collaborator Author

CI oddly fails. For whatever reason it tries to use CMake 3.22.1.

@gpx1000
Copy link
Copy Markdown
Contributor

gpx1000 commented Aug 22, 2025

Maybe try replacing the version = '4.02+' The + used to allow gradle to select any newer version. I think that's frowned upon as a practice; but it might still work?

Removing the requirement does not work with CI
@SaschaWillems
Copy link
Copy Markdown
Collaborator Author

That's what I did. That fixed the CI, and works fine for me using a more recent version (that 4.0.2) 👍🏻

@SaschaWillems SaschaWillems merged commit c9602bf into main Oct 1, 2025
5 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