blob: a9cc457273f7c8d941c1768351ef3408a64bb3f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
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)
|