diff options
Diffstat (limited to 'meta-oe/recipes-support/libftdi/files/0003-CMake-bump-the-minimal-required-version-to-3.5.patch')
-rw-r--r-- | meta-oe/recipes-support/libftdi/files/0003-CMake-bump-the-minimal-required-version-to-3.5.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libftdi/files/0003-CMake-bump-the-minimal-required-version-to-3.5.patch b/meta-oe/recipes-support/libftdi/files/0003-CMake-bump-the-minimal-required-version-to-3.5.patch new file mode 100644 index 0000000000..b541cb69f4 --- /dev/null +++ b/meta-oe/recipes-support/libftdi/files/0003-CMake-bump-the-minimal-required-version-to-3.5.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From e6d18a015907b22345bf8994110f68f0609949a9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Yegor Yefremov <yegorslists@googlemail.com> | ||
3 | Date: Tue, 12 Dec 2023 14:20:36 +0100 | ||
4 | Subject: [PATCH] CMake: bump the minimal required version to 3.5 | ||
5 | |||
6 | Older CMake versions are treated as deprecated. | ||
7 | |||
8 | Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> | ||
9 | Upstream-Status: Backport [de9f01ece34d2fe6e842e0250a38f4b16eda2429] | ||
10 | --- | ||
11 | CMakeLists.txt | 2 +- | ||
12 | examples/cmake_example/CMakeLists.txt | 2 +- | ||
13 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
16 | index 41ddf58..c37887b 100644 | ||
17 | --- a/CMakeLists.txt | ||
18 | +++ b/CMakeLists.txt | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
21 | +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
22 | |||
23 | # Project | ||
24 | project(libftdi1 C) | ||
25 | diff --git a/examples/cmake_example/CMakeLists.txt b/examples/cmake_example/CMakeLists.txt | ||
26 | index 264752d..cbdd2e4 100644 | ||
27 | --- a/examples/cmake_example/CMakeLists.txt | ||
28 | +++ b/examples/cmake_example/CMakeLists.txt | ||
29 | @@ -1,4 +1,4 @@ | ||
30 | -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
31 | +cmake_minimum_required(VERSION 3.5 FATAL_ERROR) | ||
32 | |||
33 | project ( example C ) | ||
34 | |||