mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
Fix cmake_minimum_required to 3.22 Closes: https://bugs.gentoo.org/957528 Signed-off-by: Victor Kustov <ktrace@yandex.ru> Part-of: https://github.com/gentoo/gentoo/pull/42702 Closes: https://github.com/gentoo/gentoo/pull/42702 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 2638b76886b0eb0a371121aa965c895b1994a8b8 Mon Sep 17 00:00:00 2001
|
|
From: "U. Bruhin" <urbibruhin@bluewin.ch>
|
|
Date: Thu, 3 Apr 2025 19:04:47 +0200
|
|
Subject: [PATCH] CMake: Bump minimum required version to 3.22
|
|
|
|
---
|
|
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..5617244 100644
|
|
--- a/libs/type_safe/CMakeLists.txt
|
|
+++ b/libs/type_safe/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.1)
|
|
+cmake_minimum_required(VERSION 3.22)
|
|
|
|
project(TYPE_SAFE)
|
|
|
|
diff --git a/external/debug_assert/CMakeLists.txt b/external/debug_assert/CMakeLists.txt
|
|
index 7005afc..541ae4c 100644
|
|
--- a/libs/type_safe/external/debug_assert/CMakeLists.txt
|
|
+++ b/libs/type_safe/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.1)
|
|
+cmake_minimum_required(VERSION 3.22)
|
|
project(DEBUG_ASSERT)
|
|
|
|
# Determine if debug_assert is built as a subproject (using add_subdirectory)
|