mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
libtins: adjust for cmake 4.x, remove absent maintainer
* Adjust for compatibility with cmake 4.x * Remove absent maintainer Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -9,14 +9,14 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libtins
|
||||
PKG_VERSION:=4.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
||||
PKG_SOURCE_URL:=https://github.com/mfontanini/libtins
|
||||
PKG_MIRROR_HASH:=85c5a15beca56552ba3f33e10f2a82ee4c47be2b3334d163304362188a37b13a
|
||||
|
||||
PKG_MAINTAINER:= Steven Hessing <steven.hessing@gmail.com>
|
||||
PKG_MAINTAINER:=
|
||||
PKG_LICENSE:=BSD-2-Clause
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
|
||||
19
libs/libtins/patches/001-cmake4.patch
Normal file
19
libs/libtins/patches/001-cmake4.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
|
||||
PROJECT(libtins)
|
||||
|
||||
OPTION(LIBTINS_BUILD_EXAMPLES "Build examples" ON)
|
||||
--- a/cmake/Modules/CheckCXXFeatures.cmake
|
||||
+++ b/cmake/Modules/CheckCXXFeatures.cmake
|
||||
@@ -50,7 +50,7 @@ if (NOT CMAKE_CXX_COMPILER_LOADED)
|
||||
message(FATAL_ERROR "CheckCXX11Features modules only works if language CXX is enabled")
|
||||
endif ()
|
||||
|
||||
-cmake_minimum_required(VERSION 2.8.3)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
#
|
||||
### Check for needed compiler flags
|
||||
Reference in New Issue
Block a user