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).
This commit is contained in:
Brad King 2023-02-28 09:18:39 -05:00
parent 47975e6018
commit d70582eed8
2 changed files with 2 additions and 4 deletions

View File

@ -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``

View File

@ -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)