Skip to content

Commit

Permalink
COMP: Bump zlib-ng CMake max policy to 3.29.0
Browse files Browse the repository at this point in the history
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.

Submitted upstream:

  zlib-ng/zlib-ng#1709
  • Loading branch information
thewtex committed Apr 9, 2024
1 parent 6e88ab6 commit cdd8be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/ThirdParty/ZLIB/src/itkzlib-ng/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit cdd8be3

Please sign in to comment.