From 9a8e128535ab79ce29a60e7fc7298be52234fcc5 Mon Sep 17 00:00:00 2001 From: Volodymyr Sereda Date: Thu, 7 Aug 2025 10:50:03 +0200 Subject: [PATCH] Place upper bound on required CMake version to avoid deprecation warning --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8a38cfe..eedde284 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,7 @@ -cmake_minimum_required(VERSION 3.9) +# 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) project(concurrentqueue VERSION 1.0.0) include(GNUInstallDirs)