Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rise up cmake minimum required version #1066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BartolomeyKant
Copy link

Rise up to cmake_minimum_required(VERSION 3.10) as mentioned in cmake warning message.

I don't know about other project but in my company we related to cmake minimum 3.16 as it is installed by default with platfomio. But it is also possible to use newer version as showed here.

closes #1059

@jputcu
Copy link
Contributor

jputcu commented Apr 4, 2025

I just saw https://github.com/conan-io/conan-center-index is currently updating its recipes to support cmake 4:

["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" # CMake 4 support

@BartolomeyKant
Copy link
Author

["CMAKE_POLICY_VERSION_MINIMUM"] = "3.5" # CMake 4 support

https://cmake.org/cmake/help/latest/variable/CMAKE_POLICY_VERSION_MINIMUM.html
Documentation says it should be used for projects that not has been updated. I think they mean some not maintained or old versions of projects.

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.

CMake Deprecation Warning on 4.0.0
2 participants