From b6eac95db438bd08be932a3d01cd922c0a064a73 Mon Sep 17 00:00:00 2001 From: RichieSams Date: Sun, 29 Oct 2023 18:32:16 -0400 Subject: [PATCH] feat(cmake): Update the CMake minimum version required Namely, to use the presets features we want --- CMakeLists.txt | 2 +- CMakePresets.json | 3 +-- third_party/boost_context/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b9c28c21..4804520e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ # limitations under the License. ## -cmake_minimum_required(VERSION 3.9) +cmake_minimum_required(VERSION 3.25) project(FiberTaskingLib CXX) # Options diff --git a/CMakePresets.json b/CMakePresets.json index 24e59a97..82130120 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -2,8 +2,7 @@ "version": 4, "cmakeMinimumRequired": { "major": 3, - "minor": 19, - "patch": 2 + "minor": 25 }, "configurePresets": [ { diff --git a/third_party/boost_context/CMakeLists.txt b/third_party/boost_context/CMakeLists.txt index 213d2a81..84a9c72b 100644 --- a/third_party/boost_context/CMakeLists.txt +++ b/third_party/boost_context/CMakeLists.txt @@ -3,7 +3,7 @@ ## (See accompanying file LICENSE_1_0.txt or copy at ## http://www.boost.org/LICENSE_1_0.txt) -cmake_minimum_required(VERSION 3.2) +cmake_minimum_required(VERSION 3.25) project(boost_context ASM)