mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-13 15:19:59 +01:00
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>
This commit is contained in:
parent
5a8dffebe9
commit
914eb430ed
1 changed files with 8 additions and 0 deletions
8
package/libs/jansson/patches/001-cmake-ver.patch
Normal file
8
package/libs/jansson/patches/001-cmake-ver.patch
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue