mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 04:31:21 +00:00
lzo: adjust for cmake 4.x compatibility
Patch CMakeLists.txt to fulfill cmake 4.0 requirements of cmake_minimum_required being at least 3.5 and in future 3.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:=lzo
|
||||
PKG_VERSION:=2.10
|
||||
PKG_RELEASE:=4
|
||||
PKG_RELEASE:=5
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://www.oberhumer.com/opensource/lzo/download/
|
||||
|
||||
11
libs/lzo/patches/002-cmake-4.0-compatibility.patch
Normal file
11
libs/lzo/patches/002-cmake-4.0-compatibility.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -8,7 +8,7 @@
|
||||
# All Rights Reserved.
|
||||
#
|
||||
|
||||
-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
#
|
||||
# simple usage example (Unix):
|
||||
Reference in New Issue
Block a user