summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-03 13:18:14 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-03 18:18:16 (GMT)
commit9e3b559b6a30b8b5734849fc21a9cea1b0e2874f (patch)
treeedc4eca1f905ba8fffc073e5e68eac02cfc25e55 /Tests/ExportImport
parentf4aa34daa724cf80dd407d14cd5a091b6e390c62 (diff)
downloadCMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.zip
CMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.tar.gz
CMake-9e3b559b6a30b8b5734849fc21a9cea1b0e2874f.tar.bz2
Tests: Update cmake_minimum_required versions to 3.10
Diffstat (limited to 'Tests/ExportImport')
-rw-r--r--Tests/ExportImport/CMakeLists.txt2
-rw-r--r--Tests/ExportImport/Export/CMakeLists.txt2
-rw-r--r--Tests/ExportImport/Import/CMakeLists.txt5
-rw-r--r--Tests/ExportImport/Import/try_compile/CMakeLists.txt2
4 files changed, 5 insertions, 6 deletions
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt
index e3f32c2..82b21c4 100644
--- a/Tests/ExportImport/CMakeLists.txt
+++ b/Tests/ExportImport/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required (VERSION 3.9)
+cmake_minimum_required(VERSION 3.10)
project(ExportImport C CXX)
if(NOT DEFINED CMake_TEST_NESTED_MAKE_PROGRAM AND NOT CMAKE_GENERATOR MATCHES "Visual Studio")
set(CMake_TEST_NESTED_MAKE_PROGRAM "${CMAKE_MAKE_PROGRAM}")
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt
index 4a6db97..2cc2354 100644
--- a/Tests/ExportImport/Export/CMakeLists.txt
+++ b/Tests/ExportImport/Export/CMakeLists.txt
@@ -1,5 +1,5 @@
set(CMAKE_EXPERIMENTAL_EXPORT_PACKAGE_DEPENDENCIES "1942b4fa-b2c5-4546-9385-83f254070067")
-cmake_minimum_required (VERSION 2.7.20090711)
+cmake_minimum_required(VERSION 2.8.11) # old enough to not set CMP0022
if(POLICY CMP0129)
cmake_policy(SET CMP0129 NEW)
endif()
diff --git a/Tests/ExportImport/Import/CMakeLists.txt b/Tests/ExportImport/Import/CMakeLists.txt
index 83c87a8..f3fff53 100644
--- a/Tests/ExportImport/Import/CMakeLists.txt
+++ b/Tests/ExportImport/Import/CMakeLists.txt
@@ -1,6 +1,5 @@
-cmake_minimum_required (VERSION 2.7.20090711)
-cmake_policy(SET CMP0025 NEW)
-cmake_policy(SET CMP0028 NEW)
+cmake_minimum_required (VERSION 3.10)
+cmake_policy(SET CMP0043 OLD)
if(POLICY CMP0129)
cmake_policy(SET CMP0129 NEW)
endif()
diff --git a/Tests/ExportImport/Import/try_compile/CMakeLists.txt b/Tests/ExportImport/Import/try_compile/CMakeLists.txt
index bb390f9..7c3068b 100644
--- a/Tests/ExportImport/Import/try_compile/CMakeLists.txt
+++ b/Tests/ExportImport/Import/try_compile/CMakeLists.txt
@@ -1,5 +1,5 @@
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.10)
find_package(testLibRequired 2.5 REQUIRED)