Initial Commit
- initial default booting image
This commit is contained in:
36
package/cjson/0001-make_compatible_with_cmake_4.0.patch
Normal file
36
package/cjson/0001-make_compatible_with_cmake_4.0.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
From 58bc7c823c2e39f1a626ec4da86952bc6819bd6b Mon Sep 17 00:00:00 2001
|
||||
From: Markus Vieth <mvieth@techfak.uni-bielefeld.de>
|
||||
Date: Sun, 30 Mar 2025 11:12:07 +0200
|
||||
Subject: [PATCH] Make compatible with CMake 4.0 When trying to build with
|
||||
CMake 4.0, the following error is shown:
|
||||
|
||||
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
|
||||
Compatibility with CMake < 3.5 has been removed from CMake.
|
||||
|
||||
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
|
||||
to tell CMake that the project requires at least <min> but has been updated
|
||||
to work with policies introduced by <max> or earlier.
|
||||
|
||||
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
||||
|
||||
This change raises the minimum required CMake version to 3.5 and thus makes the project compatible with CMake 4.0
|
||||
|
||||
Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
Peter: update for 1.7.19
|
||||
Upstream: https://github.com/DaveGamble/cJSON/pull/935
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 36a6cb57..9428da58 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(cJSON
|
||||
VERSION 1.7.19
|
||||
Reference in New Issue
Block a user