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

Warning on CMake >= 3.27 because of support for CMake >= 2.8.12 #1266

Open
Earlopain opened this issue Jan 23, 2024 · 0 comments · May be fixed by #1382
Open

Warning on CMake >= 3.27 because of support for CMake >= 2.8.12 #1266

Earlopain opened this issue Jan 23, 2024 · 0 comments · May be fixed by #1382
Assignees

Comments

@Earlopain
Copy link

Hi there,

when compiling with a version of CMake greater than 3.27 a warning is issued because they plan to drop compatibility for versions of CMake older than 3.5. You can read about that here: https://cmake.org/cmake/help/latest/release/3.27.html#deprecated-and-removed-features

cmake_minimum_required(VERSION 2.8.12)

CMake Deprecation Warning at build/release/_deps/sqliteorm-src/cmake/ucm.cmake:13 (cmake_minimum_required):
  Compatibility with CMake < 3.5 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.
Call Stack (most recent call first):
  build/release/_deps/sqliteorm-src/CMakeLists.txt:54 (include)

cmake_minimum_required (VERSION 3.16)

This already defines a minimal CMake version of 3.16 so perhaps that number can just be incremented?

@trueqbit trueqbit moved this to In Progress in sqlite_orm public board Jan 26, 2025
@trueqbit trueqbit self-assigned this Jan 26, 2025
@trueqbit trueqbit linked a pull request Jan 26, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants