mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
Update it now so that its not a problem later.
Upstream-PR: https://github.com/Grumbel/tinycmmc/pull/3
Upstream-Commit: 2ad2d2ab7d
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
49 lines
1.6 KiB
Diff
49 lines
1.6 KiB
Diff
https://github.com/Grumbel/tinycmmc/pull/2
|
|
https://github.com/Grumbel/tinycmmc/commit/8238a6c1b90536e211fddf356dc3af26ea7c2f2c
|
|
|
|
From 01e81cdeb672d57f050594517a3ec4de4298615c Mon Sep 17 00:00:00 2001
|
|
From: orbea <orbea@riseup.net>
|
|
Date: Wed, 26 Mar 2025 07:45:32 -0700
|
|
Subject: [PATCH] cmake: require 3.10 as the minimum version
|
|
|
|
With cmake 4 it now errors unless the minimum version is at least 3.5
|
|
and it will warn if the version is not at least 3.10.
|
|
|
|
Gentoo-Issue: https://bugs.gentoo.org/952072
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
https://github.com/Grumbel/tinycmmc/pull/3
|
|
https://github.com/Grumbel/tinycmmc/commit/2ad2d2ab7dce012bb1c9d1dbb8bdb5abd9232ecd
|
|
|
|
From cffa9348fd2afd9874c733beb9c93a88720085cc Mon Sep 17 00:00:00 2001
|
|
From: orbea <orbea@riseup.net>
|
|
Date: Fri, 24 Oct 2025 09:10:31 -0700
|
|
Subject: [PATCH] build: set the cmake_minimum_required as a range
|
|
|
|
From the cmake documentation:
|
|
|
|
This uses the <min>...<max> syntax to enable the NEW behaviors of
|
|
policies introduced in CMake 4.1 and earlier while only requiring
|
|
a minimum version of CMake 3.10.
|
|
|
|
Resource: https://cmake.org/cmake/help/latest/manual/cmake-policies.7.html#updating-projects
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 2344961..12af9d2 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -16,7 +16,7 @@
|
|
# misrepresented as being the original software.
|
|
# 3. This notice may not be removed or altered from any source distribution.
|
|
|
|
-cmake_minimum_required(VERSION 3.0)
|
|
+cmake_minimum_required(VERSION 3.10...4.1)
|
|
project(tinycmmc VERSION 0.1.0)
|
|
|
|
include(GNUInstallDirs)
|