package/json-c: fix cmake 4 compatibility
PATCH 1/1 package/json-c: fix cmake 4 compatibility
Fixes:
https://autobuild.buildroot.net/results/dcf/dcf72922750a830901279e8eb8fc2def95d35e01/
Signed-off-by Bernd Kuhls <[email protected]>
--- .../0001-Allow-build-with-cmake-4.0.0.patch | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 package/json-c/0001-Allow-build-with-cmake-4.0.0.patch
package/json-c/0001-Allow-build-with-cmake-4.0.0.patch new file +25 -0
@@ -0,0 +1,25 @@ +From 42864e12b0d7af01b1cf989d6da9e9a4477775a1 Mon Sep 17 00:00:00 2001 +From: Rudi Heitbaum <[email protected]> +Date: Fri, 28 Mar 2025 23:14:48 +1100 +Subject: [PATCH] Allow build with cmake 4.0.0 + +Update the min version to match parent CMakeLists.txt 3.9...3.12 + +Upstream: https://github.com/json-c/json-c/commit/42864e12b0d7af01b1cf989d6da9e9a4477775a1 + +Signed-off-by: Bernd Kuhls <[email protected]> +--- + apps/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt +index f7c9dec633..ef2271d131 100644 +--- a/apps/CMakeLists.txt ++++ b/apps/CMakeLists.txt +@@ -1,5 +1,5 @@ + +-cmake_minimum_required(VERSION 2.8) # see ../CMakeLists.txt for why 2.8 ++cmake_minimum_required(VERSION 3.9...3.12) + + if(POLICY CMP0075) + cmake_policy(SET CMP0075 NEW)
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot