File: 775.patch

package info (click to toggle)
dlt-daemon 2.18.10-12.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,292 kB
  • sloc: ansic: 41,205; cpp: 12,824; sh: 1,144; xml: 1,123; python: 63; makefile: 23
file content (79 lines) | stat: -rw-r--r-- 2,396 bytes parent folder | download | duplicates (2)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
From 4e40db369fd83877fb766c714889feba24eaa224 Mon Sep 17 00:00:00 2001
From: Gianfranco Costamagna <locutusofborg@debian.org>
Date: Mon, 8 Sep 2025 15:18:41 +0200
Subject: [PATCH] Bump minimum cmake required version to 3.10, needed for
 compatibility with new cmake 4

---
 CMakeLists.txt                   | 2 +-
 examples/example1/CMakeLists.txt | 2 +-
 examples/example2/CMakeLists.txt | 2 +-
 examples/example3/CMakeLists.txt | 2 +-
 examples/example4/CMakeLists.txt | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 01d28ed01..f5d6bf18d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@
 #######
 
 # Set minimum Cmake version and setup policy behavior
-cmake_minimum_required(VERSION 3.3)
+cmake_minimum_required(VERSION 3.10)
 
 if(${CMAKE_VERSION} VERSION_GREATER "3.20" OR ${CMAKE_VERSION} VERSION_EQUAL "3.20")
     cmake_policy(SET CMP0115 OLD)
diff --git a/examples/example1/CMakeLists.txt b/examples/example1/CMakeLists.txt
index 60644a136..5bd32f596 100644
--- a/examples/example1/CMakeLists.txt
+++ b/examples/example1/CMakeLists.txt
@@ -17,7 +17,7 @@
 # DLT example implementation
 #
 
-cmake_minimum_required( VERSION 2.6 )
+cmake_minimum_required( VERSION 3.10 )
 project( automotive-dlt-example1 )
 
 #
diff --git a/examples/example2/CMakeLists.txt b/examples/example2/CMakeLists.txt
index 66a4f2460..19b1a7114 100644
--- a/examples/example2/CMakeLists.txt
+++ b/examples/example2/CMakeLists.txt
@@ -17,7 +17,7 @@
 # DLT example implementation
 #
 
-cmake_minimum_required( VERSION 2.6 )
+cmake_minimum_required( VERSION 3.10 )
 project( automotive-dlt-example2 )
 
 #
diff --git a/examples/example3/CMakeLists.txt b/examples/example3/CMakeLists.txt
index 45b746755..34bc0faf1 100644
--- a/examples/example3/CMakeLists.txt
+++ b/examples/example3/CMakeLists.txt
@@ -17,7 +17,7 @@
 # DLT example implementation
 #
 
-cmake_minimum_required( VERSION 2.6 )
+cmake_minimum_required( VERSION 3.10 )
 project( automotive-dlt-example3 )
 
 #
diff --git a/examples/example4/CMakeLists.txt b/examples/example4/CMakeLists.txt
index 53a4fade3..20c2ead18 100644
--- a/examples/example4/CMakeLists.txt
+++ b/examples/example4/CMakeLists.txt
@@ -17,7 +17,7 @@
 # DLT example implementation
 #
 
-cmake_minimum_required( VERSION 2.6 )
+cmake_minimum_required( VERSION 3.10 )
 project( automotive-dlt-example4 )
 
 #