diff options
Diffstat (limited to 'meta-oe/recipes-support/libftdi/files/0002-CMake-require-2.8.12-for-cmake_example.patch')
-rw-r--r-- | meta-oe/recipes-support/libftdi/files/0002-CMake-require-2.8.12-for-cmake_example.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libftdi/files/0002-CMake-require-2.8.12-for-cmake_example.patch b/meta-oe/recipes-support/libftdi/files/0002-CMake-require-2.8.12-for-cmake_example.patch new file mode 100644 index 0000000000..a31a67df88 --- /dev/null +++ b/meta-oe/recipes-support/libftdi/files/0002-CMake-require-2.8.12-for-cmake_example.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 579c08ec00d7cfd72071a86c67fb3b3c5fec5a9e Mon Sep 17 00:00:00 2001 | ||
2 | From: Yegor Yefremov <yegorslists@googlemail.com> | ||
3 | Date: Thu, 31 Aug 2023 09:23:29 +0200 | ||
4 | Subject: [PATCH] CMake: require 2.8.12 for cmake_example | ||
5 | |||
6 | Make CMake minimal version requirement consistent for the entire | ||
7 | project. | ||
8 | |||
9 | Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> | ||
10 | Upstream-Status: Backport [61a6bac98bbac623fb33b6153a063b6436f84721] | ||
11 | --- | ||
12 | examples/cmake_example/CMakeLists.txt | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/examples/cmake_example/CMakeLists.txt b/examples/cmake_example/CMakeLists.txt | ||
16 | index fe203ed..264752d 100644 | ||
17 | --- a/examples/cmake_example/CMakeLists.txt | ||
18 | +++ b/examples/cmake_example/CMakeLists.txt | ||
19 | @@ -1,4 +1,4 @@ | ||
20 | -cmake_minimum_required ( VERSION 2.8 ) | ||
21 | +cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) | ||
22 | |||
23 | project ( example C ) | ||
24 | |||