From ca863d787047dc6cf1f2d20ee60b08e82439642b Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Wed, 3 Dec 2025 22:46:59 +0100 Subject: [PATCH] package/libebml: fix cmake 4 compatibility Signed-off-by: Bernd Kuhls Signed-off-by: Julien Olivain --- .../0001-drop-CMake-older-than-3.5.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/libebml/0001-drop-CMake-older-than-3.5.patch diff --git a/package/libebml/0001-drop-CMake-older-than-3.5.patch b/package/libebml/0001-drop-CMake-older-than-3.5.patch new file mode 100644 index 0000000000..3a9098f6b3 --- /dev/null +++ b/package/libebml/0001-drop-CMake-older-than-3.5.patch @@ -0,0 +1,29 @@ +From 6725c5f0169981cb0bd2ee124fbf0d8ca30b762d Mon Sep 17 00:00:00 2001 +From: Steve Lhomme +Date: Sat, 24 Feb 2024 08:33:56 +0100 +Subject: [PATCH] drop CMake older than 3.5 + +It generates a warning with newer versions of CMake. +3.4 was released in 2015. We require C++17 with compilers only available in 2017/2018. +If your CMake is older than your toolchain, you have a problem. + +There's no need to support legacy CMake going forward in libebml 2. + +Upstream: https://github.com/Matroska-Org/libebml/commit/6725c5f0169981cb0bd2ee124fbf0d8ca30b762d + +Signed-off-by: Bernd Kuhls +[backported to version 1.4.5] +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 11ee059a..c7b969a8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.2) ++cmake_minimum_required(VERSION 3.5) + + project(ebml VERSION 1.4.5) +