From 3b35d81d1001093bc891ef2e6ac3258864f9ae64 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 24 Nov 2025 22:49:06 +0100 Subject: [PATCH] uledd: add patch for CMake >= 4.0 support Add patch for uledd for CMake >= 4.0 support. Signed-off-by: Christian Marangi --- ...e-min-version-to-3.10-for-CMake-4.0-.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 utils/uledd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch diff --git a/utils/uledd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch b/utils/uledd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch new file mode 100644 index 0000000000..2012bc4355 --- /dev/null +++ b/utils/uledd/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch @@ -0,0 +1,25 @@ +From a1d33d3f09143cd9a117c47978894dd3ba6bcd90 Mon Sep 17 00:00:00 2001 +From: Christian Marangi +Date: Mon, 24 Nov 2025 22:46:56 +0100 +Subject: [PATCH] CMakeLists: update min version to 3.10 for CMake >= 4.0 + support + +Update minimum version of CMake to 3.10 for CMake >= 4.0 version +support. + +New CMake require 3.5 as the minimum version with that increased to 3.10 +in the next CMake release. + +Signed-off-by: Christian Marangi +--- + 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(uleddd C) + INCLUDE(GNUInstallDirs) -- 2.30.2