Skip to content

Increase CMake minimum version from 3.16 to 3.22.1 - #4824

Draft
mwtoews wants to merge 2 commits into
OSGeo:masterfrom
mwtoews:cmake-3.22.1
Draft

Increase CMake minimum version from 3.16 to 3.22.1#4824
mwtoews wants to merge 2 commits into
OSGeo:masterfrom
mwtoews:cmake-3.22.1

Conversation

@mwtoews

@mwtoews mwtoews commented Aug 22, 2026

Copy link
Copy Markdown
Member

This PR upgrades the CMake minimum version from 3.16 to 3.22.1. It also cleans up code that was needed to support older CMake versions.

I will consider some improvements using target_compile_features() (discussed in #1924) in a follow-up.

Closes #4756

@jjimenezshaw

Copy link
Copy Markdown
Contributor

What about upgrading Ubuntu already to 24.04?

@mwtoews

mwtoews commented Aug 22, 2026

Copy link
Copy Markdown
Member Author

I'd prefer keeping the CI testing to use the minimum supported versions. Also, I might hold this on draft to separate the CI upgrade stuff separately.... see #4825

@mwtoews
mwtoews marked this pull request as draft August 22, 2026 20:32
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.

Minimum CMake version for PROJ 9.9 series

2 participants