From d70582eed87ae09c0ecd5789289fdc72e3156758 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 28 Feb 2023 09:18:39 -0500 Subject: 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). --- Help/dev/maint.rst | 1 + Source/Checks/Curses/CMakeLists.txt | 5 +---- 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) -- cgit v0.12