Skip to content

Allow build with CMake 4.0.0#1

Open
heitbaum wants to merge 1 commit into
EHfive:masterfrom
heitbaum:patch-1
Open

Allow build with CMake 4.0.0#1
heitbaum wants to merge 1 commit into
EHfive:masterfrom
heitbaum:patch-1

Conversation

@heitbaum
Copy link
Copy Markdown

use min...max syntax to allow build with newer cmake.

ref: https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html

@a17r
Copy link
Copy Markdown

a17r commented May 1, 2025

Why don't you just raise the minimum version to at least 3.5 or 3.10?

@heitbaum
Copy link
Copy Markdown
Author

heitbaum commented May 1, 2025

Why don't you just raise the minimum version to at least 3.5 or 3.10?

If that is the preference - we can (thus dropping support for building with < 3.10) - no issue either way, as the CMakeLists.txt file does not have use any functionality 3.0-3.10.

Ideally best to go with a minimum, as then there is no need to support the range.

generally there has been a 50/50 direction set with packages I raised PRs on, some went range (they wanted to continue to support old cmake, the others when with 3.10 or greater)

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