mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 17:04:35 +04:00
lucihttp: adjust to 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>
This commit is contained in:
8
contrib/package/lucihttp/patches/001-cmake.patch
Normal file
8
contrib/package/lucihttp/patches/001-cmake.patch
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cmake_minimum_required(VERSION 2.6)
|
||||||
|
+cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
PROJECT(liblucihttp C)
|
||||||
|
|
||||||
Reference in New Issue
Block a user