mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
zlog: add cmake 4.x compatibility
Upstream backport. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
committed by
Hannu Nyman
parent
8efcd79a69
commit
ecce493e58
20
libs/zlog/patches/011-upgrade-cmake-minimum-version.patch
Normal file
20
libs/zlog/patches/011-upgrade-cmake-minimum-version.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
From 3715879775f725260aeda14f94887bbc7a007e29 Mon Sep 17 00:00:00 2001
|
||||||
|
From: haydenZhou <mfkhao2009@outlook.com>
|
||||||
|
Date: Sun, 8 Jun 2025 10:45:05 +0800
|
||||||
|
Subject: [PATCH] upgrade cmake minimum version
|
||||||
|
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
# create by lsm <lsm@skybility.com>
|
||||||
|
# cmake
|
||||||
|
|
||||||
|
-cmake_minimum_required(VERSION 2.8.5)
|
||||||
|
+cmake_minimum_required(VERSION 3.12)
|
||||||
|
|
||||||
|
message(STATUS "path : ${CMAKE_FIND_ROOT_PATH}")
|
||||||
|
project(zlog)
|
||||||
Reference in New Issue
Block a user