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 3.27 warns about compatibility with CMake <3.5 #1521

Open
kostasdizas opened this issue Dec 5, 2023 · 1 comment
Open

CMake 3.27 warns about compatibility with CMake <3.5 #1521

kostasdizas opened this issue Dec 5, 2023 · 1 comment

Comments

@kostasdizas
Copy link

Describe the bug
CMake 3.27 released earlier this year drops compatibility with CMake <3.5. jsoncppConfig.cmake.in requires version 3.0. Using it in a project produces a deprecation warning:

  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.

To Reproduce
Steps to reproduce the behavior:

  1. Using CMake 3.27,

Expected behavior
The project is configured without any warnings.

Desktop (please complete the following information):

  • OS: Linux
  • Meson version: N/A
  • Ninja version: N/A
@daudrain
Copy link

daudrain commented Dec 5, 2023

Looks to be addressed by #1499

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

2 participants