Skip to content

Update minimum CMake version to 3.10#223

Open
naliferopoulos wants to merge 1 commit into
kgabis:masterfrom
naliferopoulos:master
Open

Update minimum CMake version to 3.10#223
naliferopoulos wants to merge 1 commit into
kgabis:masterfrom
naliferopoulos:master

Conversation

@naliferopoulos
Copy link
Copy Markdown

Updated the minimum version specified in CMakeLists.txt to 3.10 to silence deprecation warning. FYI, I have been able to build it with much higher versions.

@echoix
Copy link
Copy Markdown

echoix commented May 17, 2026

If you have tested and know that all policies work with a certain upper version, you could use the policy max of cmake_minimum_required. It doesn’t cap the maximum version to use. It only signifies that the policies up to that version can be assumed working and will be used by default if possible, like explained in the note of
https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html#command:cmake_minimum_required

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