From: Christian Marangi Date: Sun, 23 Nov 2025 13:45:48 +0000 (+0100) Subject: libupm: add pending patch for CMake >= 4.0 support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=e78f4c6fef6092fb8e2991579161056abaaff5de;p=feed%2Fpackages.git libupm: add pending patch for CMake >= 4.0 support Add pending patch for libupm for CMake >= 4.0 support. Signed-off-by: Christian Marangi --- diff --git a/libs/libupm/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch b/libs/libupm/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch new file mode 100644 index 0000000000..b5af5443d9 --- /dev/null +++ b/libs/libupm/patches/100-CMakeLists-update-min-version-to-3.10-for-CMake-4.0-.patch @@ -0,0 +1,25 @@ +From 12a1e08bb3df5e1c339e719822f95b00970d4506 Mon Sep 17 00:00:00 2001 +From: Christian Marangi +Date: Sun, 23 Nov 2025 14:18:26 +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.8.11) ++cmake_minimum_required (VERSION 3.10) + project (upm) + + # Before going any further, define build options