From bfeaee05905d548706bede123a6404393c5dbf6b Mon Sep 17 00:00:00 2001 From: Charlie Tonneslan Date: Fri, 20 Mar 2026 14:42:16 -0400 Subject: [PATCH] fix: bump cmake_minimum_required to 3.14 to silence deprecation warning CMake 3.31+ warns that compatibility with CMake < 3.10 will be removed. Bump the minimum from 3.9 to 3.14 (covers all maintained CMake versions) and cap the range at 3.31. Fixes #165 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ef0caa..3e0129d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # See https://discourse.cmake.org/t/how-to-fix-cmake-minimum-required-deprecation-warning/2487/2 # for more on setting the minimum required version. -cmake_minimum_required(VERSION 3.9...3.31.7) +cmake_minimum_required(VERSION 3.14...3.31) project(readerwriterqueue VERSION 1.0.7) include(GNUInstallDirs)