Skip to content

Commit

Permalink
Bump CMake policy version to avoid deprecation warning (#1499)
Browse files Browse the repository at this point in the history
Starting with CMake 3.27, there will be a warning for compat levels
below CMake 3.5.

Co-authored-by: Jordan Bayles <[email protected]>
  • Loading branch information
roehling and baylesj authored Sep 10, 2024
1 parent fd1abe4 commit d39b0df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsoncppConfig.cmake.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_policy(PUSH)
cmake_policy(VERSION 3.0)
cmake_policy(VERSION 3.0...3.26)

@PACKAGE_INIT@

Expand Down

0 comments on commit d39b0df

Please sign in to comment.