File: 0001_Bump-minimum-required-CMake-version.patch

package info (click to toggle)
qtmir 0.8.0~git20250407.ea2f477-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,256 kB
  • sloc: cpp: 23,438; python: 304; xml: 271; ansic: 94; makefile: 47; sh: 12
file content (39 lines) | stat: -rw-r--r-- 1,184 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
27
28
29
30
31
32
33
34
35
36
37
38
39
From c74a08dab73c9ee5dbd4a428325bb7045a905032 Mon Sep 17 00:00:00 2001
From: Luca Weiss <luca@lucaweiss.eu>
Date: Thu, 26 Jun 2025 18:53:00 +0200
Subject: [PATCH] Bump minimum required CMake version

CMake 4.0.3 does not build this project anymore due to "Compatibility
with CMake < 3.5 has been removed from CMake.".

Bump the minimum version to 3.10, picked semi-arbitrarily.

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
---
 CMakeLists.txt                    | 2 +-
 cmake/modules/UseLttngGenTp.cmake | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67289888..4e102d6f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.1)
+cmake_minimum_required(VERSION 3.10)
 
 project(qtmir)
 
diff --git a/cmake/modules/UseLttngGenTp.cmake b/cmake/modules/UseLttngGenTp.cmake
index 75ad8f4c..44296141 100644
--- a/cmake/modules/UseLttngGenTp.cmake
+++ b/cmake/modules/UseLttngGenTp.cmake
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.10)
 if(POLICY CMP0011)
  cmake_policy(SET CMP0011 NEW)
 endif(POLICY CMP0011)
-- 
2.47.2