From 58b855a904ae544db318936a287c482c6d505cb0 Mon Sep 17 00:00:00 2001 From: "Georgi (Joro) Kodinov" Date: Fri, 15 May 2026 13:37:05 +0300 Subject: [PATCH] Kitwave has deprecated cmake 3.x. "cmake_minimum_required(3.x)" causes cmake errors with cmake 4.x. Updated the minimum required versions to 4.x. I know it's a lot to ask. But keeping the toolset current is important. --- CMakeLists.txt | 2 +- external/debug_assert/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 421ce0f..b2fe617 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 4.0) project(TYPE_SAFE) diff --git a/external/debug_assert/CMakeLists.txt b/external/debug_assert/CMakeLists.txt index f9adcfc..fe33dea 100644 --- a/external/debug_assert/CMakeLists.txt +++ b/external/debug_assert/CMakeLists.txt @@ -2,7 +2,7 @@ # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 4.0) project(DEBUG_ASSERT) # Determine if debug_assert is built as a subproject (using add_subdirectory)