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

CMake version 3.6 is getting outdated. #1839

Open
christianbrugger opened this issue Oct 20, 2024 · 0 comments
Open

CMake version 3.6 is getting outdated. #1839

christianbrugger opened this issue Oct 20, 2024 · 0 comments

Comments

@christianbrugger
Copy link

When configuring range-v3 with the new cmake 3.31 I get the following warning:

CMake Deprecation Warning at external/range-v3/CMakeLists.txt:8 (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.


-- [range-v3]: C++ std=latest

As stated in #1724 the actual needed feature set of the CMakeLists.txt seems to be at least 3.15. In this case I suggest to change this line

cmake_minimum_required(VERSION 3.6)

simply to

cmake_minimum_required(VERSION 3.15)

This would also close #1724

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

No branches or pull requests

1 participant