package/libsoxr: fix cmake 4 compatibility

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2025-12-03 22:47:02 +01:00
committed by Julien Olivain
parent 48cf8ab8b1
commit cac00e41b7

View File

@@ -0,0 +1,28 @@
From c157f862ecca9a0613e25c2058aceb127ee4ea4f Mon Sep 17 00:00:00 2001
From: Rudi Heitbaum <rudi@heitbaum.com>
Date: Fri, 28 Mar 2025 13:47:55 +0000
Subject: [PATCH] allow compile with cmake 4.0.0
Upstream: https://sourceforge.net/p/soxr/code/merge-requests/6/
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee48f6c..2eea1e9 100644
--- 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.1...3.10 FATAL_ERROR)
project (soxr C)
set (DESCRIPTION_SUMMARY
--
2.47.3