mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-01 19:30:13 -06:00
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:
@@ -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``
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user