Files
packages/libs/libmad/patches/001-cmake4-support.patch
Hannu Nyman 031906a2ce libmad: add compatibility with cmake 4.x
Backport upstream patch for cmake 4.x compatibility.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2025-11-09 10:51:37 +02:00

26 lines
804 B
Diff

From 326363f04e583b563f63941db3cf7f50e76aceb2 Mon Sep 17 00:00:00 2001
From: Be <be@mixxx.org>
Date: Wed, 14 Feb 2024 18:18:49 -0600
Subject: [PATCH] bump CMake minimum version to 3.5.0
to fix warning
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1.0)
+cmake_minimum_required(VERSION 3.5.0)
project(mad VERSION 0.16.4)
option(BUILD_SHARED_LIBS "Build dynamic library" ON)