mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 20:51:23 +00:00
libsoxr: Add cmake 4.x compatibility
Add compatibility with cmake 4.x. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=libsoxr
|
||||
PKG_VERSION:=0.1.3
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=@SF/project/soxr/
|
||||
PKG_SOURCE:=soxr-$(PKG_VERSION)-Source.tar.xz
|
||||
|
||||
11
libs/libsoxr/patches/001-fix-cmake4.patch
Normal file
11
libs/libsoxr/patches/001-fix-cmake4.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
# SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net
|
||||
# Licence for this file: LGPL v2.1 See LICENCE for details.
|
||||
|
||||
-cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
||||
+cmake_minimum_required (VERSION 3.10)
|
||||
|
||||
project (soxr C)
|
||||
set (DESCRIPTION_SUMMARY
|
||||
Reference in New Issue
Block a user