summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-02-28 14:18:39 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-01 14:15:38 (GMT)
commitd70582eed87ae09c0ecd5789289fdc72e3156758 (patch)
treef0bd3cb28df7356163e3410ea3f3afc4ae10ac81
parent47975e60183b55c076df845d8fd835351185d721 (diff)
downloadCMake-d70582eed87ae09c0ecd5789289fdc72e3156758.zip
CMake-d70582eed87ae09c0ecd5789289fdc72e3156758.tar.gz
CMake-d70582eed87ae09c0ecd5789289fdc72e3156758.tar.bz2
ccmake: Update minimum required version of CMake for curses check
This should have been part of commit d6b811fb82 (Require CMake 3.13+ to configure CMake itself, 2022-02-22, v3.24.0-rc1~605^2~1).
-rw-r--r--Help/dev/maint.rst1
-rw-r--r--Source/Checks/Curses/CMakeLists.txt5
2 files changed, 2 insertions, 4 deletions
diff --git a/Help/dev/maint.rst b/Help/dev/maint.rst
index 53be91f..de19aa8 100644
--- a/Help/dev/maint.rst
+++ b/Help/dev/maint.rst
@@ -345,6 +345,7 @@ policies added for that version. Commit with a message such as::
Update the ``cmake_minimum_required`` version range in CMake itself:
* ``CMakeLists.txt``
+* ``Source/Checks/Curses/CMakeLists.txt``
* ``Utilities/Doxygen/CMakeLists.txt``
* ``Utilities/Sphinx/CMakeLists.txt``
diff --git a/Source/Checks/Curses/CMakeLists.txt b/Source/Checks/Curses/CMakeLists.txt
index 17318a3..0fee7ac 100644
--- a/Source/Checks/Curses/CMakeLists.txt
+++ b/Source/Checks/Curses/CMakeLists.txt
@@ -1,7 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
-if(POLICY CMP0060)
- cmake_policy(SET CMP0060 NEW)
-endif()
+cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR)
project(CheckCurses C)
set(CURSES_NEED_NCURSES TRUE)