Skip to content

Commit

Permalink
COMP: zlib-ng address cmake deprecation warnings about version
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp committed Nov 26, 2024
1 parent 4ef72c3 commit 227079d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Modules/ThirdParty/ZLIB/src/itkzlib-ng/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
cmake_minimum_required(VERSION 3.5.1)
cmake_minimum_required(VERSION 3.5.1...3.29.0)
if(CMAKE_VERSION VERSION_LESS 3.12)
cmake_policy(VERSION ${CMAKE_VERSION})
else()
cmake_policy(VERSION 3.5.1...3.29.0)
endif()
message(STATUS "Using CMake version ${CMAKE_VERSION}")

Expand Down

0 comments on commit 227079d

Please sign in to comment.