bluld: add patch fixing CMake >= 4.0 support
authorChristian Marangi <[email protected]>
Sat, 22 Nov 2025 20:53:47 +0000 (21:53 +0100)
committerChristian Marangi <[email protected]>
Sat, 22 Nov 2025 20:56:58 +0000 (21:56 +0100)
Add patch fixing CMake >= 4.0 support. The package is simple enough that
the version can be bumped with no problem.

Signed-off-by: Christian Marangi <[email protected]>
utils/bluld/patches/001-CMakeLists-update-min-version-to-3.10-for-CMake-4.0.patch [new file with mode: 0644]

diff --git a/utils/bluld/patches/001-CMakeLists-update-min-version-to-3.10-for-CMake-4.0.patch b/utils/bluld/patches/001-CMakeLists-update-min-version-to-3.10-for-CMake-4.0.patch
new file mode 100644 (file)
index 0000000..dc508cd
--- /dev/null
@@ -0,0 +1,20 @@
+From edde38979dd125370a0f69d91d6e0f3f7430e791 Mon Sep 17 00:00:00 2001
+From: Christian Marangi <[email protected]>
+Date: Sat, 22 Nov 2025 21:48:54 +0100
+Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0
+
+Update minimum version of CMake to 3.10 to support CMake >= 4.0 version.
+
+Signed-off-by: Christian Marangi <[email protected]>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 2.6)
++cmake_minimum_required(VERSION 3.10)
+ project(bluld CXX)