-
Notifications
You must be signed in to change notification settings - Fork 512
Closed
Labels
triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.
Description
Is your feature request related to a problem?
The new cmake (3.30+) will produce a warning like this:
CMake Deprecation Warning at CMakeLists.txt:4 (cmake_minimum_required):Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.CMake (cmake_minimum_required)Describe the solution you'd like
Since cmake 3.16, there have been a lot of changes of CONFIG package names in FindXXX scripts, and a lot of policies changes.
I just want to discuss if we can upgrade the minimum version to cmake to 3.16 or upper.
Describe alternatives you've considered
We use cmake_minimum_required(VERSION 3.24) and cmake_minimum_required(VERSION 3.27) to avoid writing too much compact codes to keep the same behiour in old and new cmake. It's OK for me to upgrade the minimal requirement to 3.24 or 3.27, but I think we can discuss if it will bring difficulty to other cases and if it's worth doing the upgrade.
marcalff
Metadata
Metadata
Assignees
Labels
triage/acceptedIndicates an issue or PR is ready to be actively worked on.Indicates an issue or PR is ready to be actively worked on.