From 49197ac1b15ab6e88426c0971fd2967fbf7a0905 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Mon, 24 Nov 2025 21:47:08 +0100 Subject: [PATCH] srt: backport upstream patch for CMake >= 4.0 support Backport upstream patch for srt for CMake >= 4.0 support. Signed-off-by: Christian Marangi --- ...or-compatibility-with-CMake-4.x-3167.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 libs/srt/patches/001-build-Update-for-compatibility-with-CMake-4.x-3167.patch diff --git a/libs/srt/patches/001-build-Update-for-compatibility-with-CMake-4.x-3167.patch b/libs/srt/patches/001-build-Update-for-compatibility-with-CMake-4.x-3167.patch new file mode 100644 index 0000000000..713153b00e --- /dev/null +++ b/libs/srt/patches/001-build-Update-for-compatibility-with-CMake-4.x-3167.patch @@ -0,0 +1,20 @@ +From 0def1b1a1094fc57752f241250e9a1aed71bbffd Mon Sep 17 00:00:00 2001 +From: Sam Umbach +Date: Mon, 19 May 2025 08:39:46 -0400 +Subject: [PATCH] [build] Update for compatibility with CMake 4.x (#3167) + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -7,7 +7,7 @@ + # file, You can obtain one at http://mozilla.org/MPL/2.0/. + # + +-cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.5 FATAL_ERROR) + set (SRT_VERSION 1.5.4) + + set (CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/scripts")