mirror of
https://github.com/openwrt/packages.git
synced 2026-04-15 10:51:55 +00:00
libcbor: adjust for cmake 4.x
Cmake 4.x requires 'cmake_minimum_required' to be at least 3.5. Use 3.30 as the value (current cmake in OpenWrt 24.10). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libcbor
|
||||
PKG_VERSION:=0.11.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/PJK/libcbor/tar.gz/v$(PKG_VERSION)?
|
||||
|
||||
8
libs/libcbor/patches/001-cmake.patch
Normal file
8
libs/libcbor/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.30)
|
||||
|
||||
project(libcbor)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/")
|
||||
Reference in New Issue
Block a user