summaryrefslogtreecommitdiffstats
path: root/Source/Checks
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 /Source/Checks
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).
Diffstat (limited to 'Source/Checks')
-rw-r--r--Source/Checks/Curses/CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
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)