Skip to content

fix: bump cmake_minimum_required to 3.14 to silence deprecation warning#169

Open
ctonneslan wants to merge 1 commit intocameron314:masterfrom
ctonneslan:fix/bump-cmake-minimum-version
Open

fix: bump cmake_minimum_required to 3.14 to silence deprecation warning#169
ctonneslan wants to merge 1 commit intocameron314:masterfrom
ctonneslan:fix/bump-cmake-minimum-version

Conversation

@ctonneslan
Copy link

Bumps the CMake minimum version from 3.9 to 3.14 to silence the deprecation warning on CMake 3.31+:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of CMake.

3.14 is a safe minimum — it's over 6 years old and covers all actively maintained CMake versions. The range cap is updated from 3.31.7 to 3.31.

Fixes #165

CMake 3.31+ warns that compatibility with CMake < 3.10 will be removed.
Bump the minimum from 3.9 to 3.14 (covers all maintained CMake versions)
and cap the range at 3.31.

Fixes cameron314#165
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.

Deprecation warning when building with recent versions of CMake

1 participant