From 5a31e529bc974c0409bfd75f71fe1101a3e581f7 Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Wed, 22 Jan 2025 19:01:14 +0100 Subject: [PATCH] CMake: Add the tested version of cmake (3.31). Per @ClausKlein suggestion. --- CMakeLists.txt | 2 +- contrib/minizip/CMakeLists.txt | 2 +- contrib/minizip/test/add_subdirectory_exclude_test.cmake.in | 2 +- contrib/minizip/test/add_subdirectory_test.cmake.in | 2 +- contrib/minizip/test/find_package_test.cmake.in | 2 +- test/add_subdirectory_exclude_test.cmake.in | 2 +- test/add_subdirectory_test.cmake.in | 2 +- test/find_package_test.cmake.in | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7054091..bcff93c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( zlib diff --git a/contrib/minizip/CMakeLists.txt b/contrib/minizip/CMakeLists.txt index b0ed62c..de0fdf7 100644 --- a/contrib/minizip/CMakeLists.txt +++ b/contrib/minizip/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( minizip diff --git a/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in b/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in index 8ac16b5..c512afd 100644 --- a/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in +++ b/contrib/minizip/test/add_subdirectory_exclude_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( minizip_add_subdirectory_exclude_from_all diff --git a/contrib/minizip/test/add_subdirectory_test.cmake.in b/contrib/minizip/test/add_subdirectory_test.cmake.in index 9d068fb..ffadd8a 100644 --- a/contrib/minizip/test/add_subdirectory_test.cmake.in +++ b/contrib/minizip/test/add_subdirectory_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( minizip_add_subdirectory_exclude_from_all diff --git a/contrib/minizip/test/find_package_test.cmake.in b/contrib/minizip/test/find_package_test.cmake.in index a2c5fb0..6803ed4 100644 --- a/contrib/minizip/test/find_package_test.cmake.in +++ b/contrib/minizip/test/find_package_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( minizip_find_package diff --git a/test/add_subdirectory_exclude_test.cmake.in b/test/add_subdirectory_exclude_test.cmake.in index c1e8cf4..7b0934e 100644 --- a/test/add_subdirectory_exclude_test.cmake.in +++ b/test/add_subdirectory_exclude_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( zlib_find_package_test diff --git a/test/add_subdirectory_test.cmake.in b/test/add_subdirectory_test.cmake.in index c7d20f8..0d3db21 100644 --- a/test/add_subdirectory_test.cmake.in +++ b/test/add_subdirectory_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( zlib_find_package_test diff --git a/test/find_package_test.cmake.in b/test/find_package_test.cmake.in index afacde5..fbe0078 100644 --- a/test/find_package_test.cmake.in +++ b/test/find_package_test.cmake.in @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.10) +cmake_minimum_required(VERSION 3.12 ... 3.31) project( zlib_find_package_test