From: Christian Marangi Date: Mon, 24 Nov 2025 19:21:57 +0000 (+0100) Subject: rtl_433: backport upstream patch for CMake >= 4.0 support X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=646817c8d637681ce22a1f90592258e6814fc850;p=feed%2Fpackages.git rtl_433: backport upstream patch for CMake >= 4.0 support Backport upstream patch for rtl_433 for CMake >= 4.0 support. Signed-off-by: Christian Marangi --- diff --git a/utils/rtl_433/patches/001-build-Update-for-compat-with-newer-CMake-closes-3245.patch b/utils/rtl_433/patches/001-build-Update-for-compat-with-newer-CMake-closes-3245.patch new file mode 100644 index 0000000000..bb20838587 --- /dev/null +++ b/utils/rtl_433/patches/001-build-Update-for-compat-with-newer-CMake-closes-3245.patch @@ -0,0 +1,20 @@ +From 42ac641452aa56afa04f7bad5a55f790ee639852 Mon Sep 17 00:00:00 2001 +From: "Christian W. Zuckschwerdt" +Date: Sun, 30 Mar 2025 12:05:53 +0200 +Subject: [PATCH] build: Update for compat with newer CMake (closes #3245) + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + ######################################################################## + # Project setup + ######################################################################## +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 2.6...3.10) + # Fix behavior of CMAKE_C_STANDARD when targeting macOS. + if(POLICY CMP0025) + cmake_policy(SET CMP0025 NEW)