mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
treewide: adjust local CMakeLists.txt min version to cmake 4.x
cmake 4.x will require 'cmake_minimum_required' defined in cmake projects to be at least 3.5. Adjust those local sources where that variable is currently defined with value below 3.5. Use 3.30 as the value, as 3.30 is currently used in 24.10, the oldest still supported OpenWrt release branch. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=lora-gateway-hal
|
||||
PKG_VERSION:=5.0.1
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/Lora-net/lora_gateway/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
|
||||
@@ -33,7 +33,7 @@ Signed-off-by: Xue Liu <liuxuenetmail@gmail.com>
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -0,0 +1,77 @@
|
||||
+# -- Minimum required version
|
||||
+cmake_minimum_required (VERSION 3.2)
|
||||
+cmake_minimum_required (VERSION 3.30)
|
||||
+
|
||||
+# -- Project name
|
||||
+project (lora_gateway)
|
||||
|
||||
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nginx-util
|
||||
PKG_VERSION:=1.7
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
|
||||
PROJECT(nginx-util CXX)
|
||||
SET(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rpcd-mod-lxc
|
||||
PKG_RELEASE=20201208
|
||||
PKG_RELEASE=20250823
|
||||
|
||||
PKG_LICENSE:=ISC
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
PROJECT(rpcd-mod-lxc)
|
||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -Wmissing-declarations)
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=rpcd-mod-wireguard
|
||||
PKG_RELEASE=1
|
||||
PKG_RELEASE=2
|
||||
|
||||
PKG_LICENSE:=LGPL-2.1+
|
||||
PKG_BUILD_FLAGS:=gc-sections
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
cmake_minimum_required(VERSION 3.30)
|
||||
PROJECT(rpcd-mod-wireguard)
|
||||
ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -Wmissing-declarations)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user