diff options
author | Brad King <brad.king@kitware.com> | 2023-03-01 20:55:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-01 21:36:54 (GMT) |
commit | f53bd6f45064fdf16c6c562edaf58bdcab8ee061 (patch) | |
tree | 3b8b15e26a4dc4c90f4bdbd321e5ac540e090667 /Tests/CMakeOnly/CheckSymbolExists | |
parent | 7b37ebe8357d9b1e2a5c97b58c9f2f5b690d163e (diff) | |
download | CMake-f53bd6f45064fdf16c6c562edaf58bdcab8ee061.zip CMake-f53bd6f45064fdf16c6c562edaf58bdcab8ee061.tar.gz CMake-f53bd6f45064fdf16c6c562edaf58bdcab8ee061.tar.bz2 |
Tests: Bump CMake minimum required in tests to 3.5
CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that
do not cover older interfaces to avoid the deprecation warning.
Follow the pattern from:
* commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions,
2020-06-15, v3.19.0-rc1~629^2~1)
* commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12,
2020-12-22, v3.20.0-rc1~224^2)
* commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12,
2021-04-04, v3.21.0-rc1~372^2)
Also remove explicit `cmake_policy` settings made redundant by the
version.
Diffstat (limited to 'Tests/CMakeOnly/CheckSymbolExists')
-rw-r--r-- | Tests/CMakeOnly/CheckSymbolExists/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeOnly/CheckSymbolExists/CMakeLists.txt b/Tests/CMakeOnly/CheckSymbolExists/CMakeLists.txt index 3d65b7a..b6ed9e9 100644 --- a/Tests/CMakeOnly/CheckSymbolExists/CMakeLists.txt +++ b/Tests/CMakeOnly/CheckSymbolExists/CMakeLists.txt @@ -9,7 +9,7 @@ project(CheckSymbolExists C) -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) set(CMAKE_REQUIRED_INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}") |