Skip to content

Bump minimum cmake version#205

Merged
barche merged 2 commits into
JuliaInterop:mainfrom
jschueller:patch-1
May 26, 2026
Merged

Bump minimum cmake version#205
barche merged 2 commits into
JuliaInterop:mainfrom
jschueller:patch-1

Conversation

@jschueller
Copy link
Copy Markdown
Contributor

@jschueller jschueller commented May 25, 2026

Avoids this warning:
Compatibility with CMake < 3.10 will be removed from a future version of CMake.
cmake 3.13 should be still pretty old to allow for maximum compatibility

/cc @barche

Avoids this warning:
`Compatibility with CMake < 3.10 will be removed from a future version of CMake.`
@yuyichao
Copy link
Copy Markdown

Note that the preferred way to handle this is to use a version range like 3.5...4.0. This actually works on old cmake version as well and was the intention of this syntax. See https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html

@yuyichao
Copy link
Copy Markdown

(Not that I think dropping 3.12 support should be a problem, but a max version can/should be added to improve compatibility going forward.)

Comment thread CMakeLists.txt Outdated
Co-authored-by: Bart Janssens <bart@bartjanssens.org>
@barche barche merged commit a8df68a into JuliaInterop:main May 26, 2026
11 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.

3 participants