gentoo/media-libs/libebur128/files/libebur128-1.2.6-cmake4.patch
Andreas Sturmlechner 921c8b362b
media-libs/libebur128: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/952797
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2025-11-28 11:33:56 +01:00

16 lines
447 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
+cmake_minimum_required(VERSION 3.16...3.31)
project(libebur128 C)
option(BUILD_SHARED_LIBS
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,4 +1,3 @@
-cmake_minimum_required(VERSION 2.8.12)
set(ENABLE_TESTS OFF CACHE BOOL "Build test binaries, needs libsndfile")
set(ENABLE_FUZZER OFF CACHE BOOL "Build fuzzer binary")