Skip to content

Conversation

@BartolomeyKant
Copy link
Contributor

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
Contributor 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.

@jwellbelove jwellbelove changed the base branch from master to development April 30, 2025 15:46
@jwellbelove jwellbelove merged commit 2fd4e17 into ETLCPP:development Apr 30, 2025
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

3 participants