]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Bump max CMake policy version to 3.29.0
authorMatt McCormick <matt.mccormick@kitware.com>
Tue, 9 Apr 2024 14:44:07 +0000 (10:44 -0400)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 2 May 2024 12:11:22 +0000 (14:11 +0200)
Addresses:

  3.29.0/share/cmake/Modules/CMakeDependentOption.cmake:89 (message):
    Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
    Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
    cmake_policy command to set the policy and suppress this warning.
  Call Stack (most recent call first):
    CMakeLists.txt:107 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMakeLists.txt

index dda0f7b4ffffc37b2ddc67536044709ab1a52a09..6cab13ce2eb61b1ee480262ffc7cb2e8b22f95e0 100644 (file)
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.5.1)
 if(CMAKE_VERSION VERSION_LESS 3.12)
     cmake_policy(VERSION ${CMAKE_VERSION})
 else()
-    cmake_policy(VERSION 3.5.1...3.13.2)
+    cmake_policy(VERSION 3.5.1...3.29.0)
 endif()
 message(STATUS "Using CMake version ${CMAKE_VERSION}")