Browse Source

package/easyframes: fix CMake 4.0 compatibility

Import the cmake_minimum_required bump from the upstream master branch.

Fixes: https://autobuild.buildroot.org/results/3fe/3fe0973cad67641d880c460a1fef859443e8a10b

Signed-off-by: Florian Larysch <fl@n621.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Florian Larysch 2 tháng trước cách đây
mục cha
commit
521920831c
1 tập tin đã thay đổi với 25 bổ sung0 xóa
  1. 25 0
      package/easyframes/0001-bump-cmake-version.patch

+ 25 - 0
package/easyframes/0001-bump-cmake-version.patch

@@ -0,0 +1,25 @@
+From 5da394897e9ed188310ca838f5f9112687b7bbe9 Mon Sep 17 00:00:00 2001
+From: "Allan W. Nielsen" <allan.nielsen@microchip.com>
+Date: Tue, 12 Sep 2023 20:07:07 +0200
+Subject: [PATCH] EF: Bump cmake version
+
+Review-record: https://bitbucket.microchip.com/projects/UNGE/repos/sw-lmstax-labs/pull-requests/679
+
+Upstream: https://github.com/microchip-ung/easyframes/commit/5da394897e9ed188310ca838f5f9112687b7bbe9
+
+[Github diff munged slightly to avoid including the UTF-8 BOM]
+Signed-off-by: Florian Larysch <fl@n621.de>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cf7bad1..e489537 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,4 +2,4 @@
+-cmake_minimum_required(VERSION 2.8.12)
++cmake_minimum_required(VERSION 3.20)
+ 
+ option(TEST_ENABLE "Enable tests" off)
+