File: 0001-Fix-build-with-CMake-4.patch

package info (click to toggle)
bcmatroska2 5.3.101-2.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,012 kB
  • sloc: ansic: 70,674; asm: 3,191; cpp: 3,011; makefile: 562; pascal: 457; xml: 227; sh: 189; php: 182
file content (26 lines) | stat: -rw-r--r-- 765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From ec86586db07973b98bb669abfc7485de000a416a Mon Sep 17 00:00:00 2001
From: Ghislain MARY <ghislain.mary@belledonne-communications.com>
Date: Mon, 14 Apr 2025 11:07:41 +0200
Subject: Fix build with CMake 4.

The minimum required CMake version must be >= 3.5. Use 3.22 as this is the version required to build the linphone SDK.
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 923324f..8ef3d4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@
 #
 ############################################################################
 
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.22)
 
 project(BCMatroska2
 	VERSION ${DEB_VERSION_UPSTREAM}
-- 
2.30.2