mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
libnatpmp: adjust for cmake 4.x compatibility
Adjust for cmake 4.x compatibility fixes: #27816 Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=libnatpmp
|
PKG_NAME:=libnatpmp
|
||||||
PKG_VERSION:=20230423
|
PKG_VERSION:=20230423
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
|
||||||
|
|||||||
20
libs/libnatpmp/patches/001-cmake4.patch
Normal file
20
libs/libnatpmp/patches/001-cmake4.patch
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andy Chiang <AndyChiang_git@outlook.com>
|
||||||
|
Date: Mon, 10 Nov 2025 08:40:56 +0700
|
||||||
|
Subject: [PATCH] cmake: adjust for cmake 4.x compatibility
|
||||||
|
|
||||||
|
Adjust for cmake 4.x compatibility
|
||||||
|
|
||||||
|
Signed-off-by: Andy Chiang <AndyChiang_git@outlook.com>
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-cmake_minimum_required(VERSION 2.8.12)
|
||||||
|
+cmake_minimum_required(VERSION 3.10)
|
||||||
|
|
||||||
|
if(POLICY CMP0048)
|
||||||
|
cmake_policy(SET CMP0048 NEW)
|
||||||
Reference in New Issue
Block a user