Skip to content

Bump CMake policy version to avoid deprecation warning #1499

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

roehling
Copy link
Contributor

@roehling roehling commented Jul 9, 2023

Starting with CMake 3.27, there will be a warning for compat levels below CMake 3.5.

Starting with CMake 3.27, there will be a warning for compat levels
below CMake 3.5.
@Hinkiii
Copy link

Hinkiii commented Jan 3, 2024

Bruh is this ever gonna get pushed

@megapatato
Copy link

Anything holding this up? It's almost a year, and depending on CMake policy, this can yield a "deprecation error"

@baylesj baylesj merged commit d39b0df into open-source-parsers:master Sep 10, 2024
7 checks passed
@jpr42
Copy link

jpr42 commented Mar 5, 2025

btw CMake 4.0 now has less than 3.5 support fully removed. So great that this got in 👍🏽
https://cmake.org/cmake/help/latest/release/4.0.html

sir-xw pushed a commit to openkylin/libjsoncpp that referenced this pull request Apr 24, 2025
Bug-Debian: https://bugs.debian.org/1040719
Forwarded: open-source-parsers/jsoncpp#1499

Gbp-Pq: Name 0002-Fix-cmake_policy.patch
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants