mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
nlbwmon: adjust 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>
This commit is contained in:
8
net/nlbwmon/patches/001-cmake.patch
Normal file
8
net/nlbwmon/patches/001-cmake.patch
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cmake_minimum_required(VERSION 3.0)
|
||||||
|
+cmake_minimum_required(VERSION 3.10)
|
||||||
|
include(CheckFunctionExists)
|
||||||
|
|
||||||
|
project(nlbwmon C)
|
||||||
Reference in New Issue
Block a user