summaryrefslogtreecommitdiffstats
path: root/Tests/ExportImport
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-04 14:25:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-10-04 14:26:23 (GMT)
commitd734f8dc6dec8834b94a77f06836e3c457ede3fc (patch)
tree5b580175458459d1a369be3ef7515bb3cdfdd3ce /Tests/ExportImport
parent3b2b5ca09649d9045194e1bf0e5c2abe47027f91 (diff)
parent84db8506ffc38381dd2502be41879ffe03d8e8e9 (diff)
downloadCMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.zip
CMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.tar.gz
CMake-d734f8dc6dec8834b94a77f06836e3c457ede3fc.tar.bz2
Merge topic 'deprecate-pre-3.10'
84db8506ff Deprecate compatibility with CMake versions older than 3.10 9e3b559b6a Tests: Update cmake_minimum_required versions to 3.10 f4aa34daa7 Tests/RunCMake: Update cmake_minimum_required versions to 3.10 1d38d52995 Tests/RunCMake: Match diagnostic line numbers more robustly 55778f5a16 ExternalProject: Enable all policies in internal scripts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9875
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)