From ad6da724248c810764777b4cf56f93b9e05bc1a7 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 30 Jan 2025 17:17:43 -0500 Subject: [PATCH] require CMake 3.21 and C17 closes #2850 --- CMakeLists.txt | 4 ++-- NEWS.md | 1 + README.md | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 48d4ddb95..849b5bca5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -# 3.14.0 introduced NAME_WLE -cmake_minimum_required(VERSION 3.14.0) +# 3.21.0 introduced C17 support +cmake_minimum_required(VERSION 3.21.0) project(notcurses VERSION 3.0.13 DESCRIPTION "Blingful UI for modern terminal emulators" HOMEPAGE_URL "https://nick-black.com/dankwiki/index.php/notcurses" diff --git a/NEWS.md b/NEWS.md index c7d4c5860..ca738635f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -7,6 +7,7 @@ rearrangements of Notcurses. quadrants/sextants implementations. * A bug introduced sometime in 2022 that caused unpredictable hangs on exit was resolved (#2837), yay! + * We now require CMake 3.21 (vs 3.14) and C17 (vs C11). * 3.0.13 (2025-01-11) * Fix regression when building with `USE_CXX=off`. diff --git a/README.md b/README.md index bcae9b80b..4f3b3cfe4 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ portability, you should by all means use that fine library. Minimum versions generally indicate the oldest version I've tested with; it may well be possible to use still older versions. Let me know of any successes! -* (build) CMake 3.14.0+ and a C11 compiler +* (build) CMake 3.21.0+ and a C17 compiler * (OPTIONAL) (OpenImageIO, testing, C++ bindings): A C++17 compiler * (build+runtime) From [NCURSES](https://invisible-island.net/ncurses/announce.html): terminfo 6.1+ * (build+runtime) GNU [libunistring](https://www.gnu.org/software/libunistring/) 0.9.10+