mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-25 07:17:05 +00:00
db04122a40
The commits have been merged upstream, but there hasn't been a release containing them yet (last upstream release was years ago). Pulling them in unblocks builds with CMake 4+ in the context of a patch series bumping CMake to 4.0.3 in openembedded-core (see [0]). [0]: https://lists.openembedded.org/g/openembedded-core/topic/113946576 CC: antonin.godard@bootlin.com CC: alex.kanavin@gmail.com Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
25 lines
853 B
Diff
25 lines
853 B
Diff
From 579c08ec00d7cfd72071a86c67fb3b3c5fec5a9e Mon Sep 17 00:00:00 2001
|
|
From: Yegor Yefremov <yegorslists@googlemail.com>
|
|
Date: Thu, 31 Aug 2023 09:23:29 +0200
|
|
Subject: [PATCH] CMake: require 2.8.12 for cmake_example
|
|
|
|
Make CMake minimal version requirement consistent for the entire
|
|
project.
|
|
|
|
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
|
|
Upstream-Status: Backport [61a6bac98bbac623fb33b6153a063b6436f84721]
|
|
---
|
|
examples/cmake_example/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/examples/cmake_example/CMakeLists.txt b/examples/cmake_example/CMakeLists.txt
|
|
index fe203ed..264752d 100644
|
|
--- a/examples/cmake_example/CMakeLists.txt
|
|
+++ b/examples/cmake_example/CMakeLists.txt
|
|
@@ -1,4 +1,4 @@
|
|
-cmake_minimum_required ( VERSION 2.8 )
|
|
+cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
|
|
|
|
project ( example C )
|
|
|