summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannu Nyman2025-10-07 15:30:01 +0000
committerChristian Marangi2025-11-04 14:14:54 +0000
commit914eb430eda3e891723c1ec4b595dcc3b9399c24 (patch)
tree30bd041e257754ad00ddf0baea06ef140c1f2211
parent5a8dffebe9201a42f0a0c9340c25010edc1faeb5 (diff)
downloadopenwrt-914eb430eda3e891723c1ec4b595dcc3b9399c24.tar.gz
jansson: adjust for cmake 4.x compatibility
Patch CMakeLists.txt in selected apps for cmake 4.x compatibility. New cmake versions require at least 3.5 as 'cmake_minimum_required' in CMakeLists.txt. In future 3.10 will be required. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/20265 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/libs/jansson/patches/001-cmake-ver.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/libs/jansson/patches/001-cmake-ver.patch b/package/libs/jansson/patches/001-cmake-ver.patch
new file mode 100644
index 0000000000..59ed1cc44d
--- /dev/null
+++ b/package/libs/jansson/patches/001-cmake-ver.patch
@@ -0,0 +1,8 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required (VERSION 3.1)
++cmake_minimum_required (VERSION 3.10)
+ project(jansson C)
+
+ # Options