mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-15 23:05:34 +01:00
waylandpp: fix build with cmake 4
Add a backport patch that fixes build with cmake 4 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
95bec3d58a
commit
77a7925a84
|
|
@ -0,0 +1,23 @@
|
|||
From 4576426020932ebc481ae35c15f644af2f17e88a Mon Sep 17 00:00:00 2001
|
||||
From: Alexey Sokolov <alexey@asokolov.org>
|
||||
Date: Sun, 4 May 2025 14:38:52 +0100
|
||||
Subject: [PATCH] Fix build with cmake 4
|
||||
|
||||
Upstream-Status: Backport
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 866477b..8e9d2ad 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -21,7 +21,7 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-cmake_minimum_required(VERSION 3.4)
|
||||
+cmake_minimum_required(VERSION 3.4...4.0)
|
||||
project(waylandpp VERSION 1.0.0 LANGUAGES CXX)
|
||||
|
||||
# packages
|
||||
|
|
@ -2,8 +2,11 @@ SUMMARY = " C++ binding for Wayland using the most modern C++ technology"
|
|||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3aae28cc66d61975114c2b14df215407"
|
||||
|
||||
SRC_URI = "git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \
|
||||
file://0001-include-missing-cstdint.patch"
|
||||
SRC_URI = " \
|
||||
git://github.com/NilsBrause/waylandpp.git;protocol=https;branch=master \
|
||||
file://0001-include-missing-cstdint.patch \
|
||||
file://4576426020932ebc481ae35c15f644af2f17e88a.patch \
|
||||
"
|
||||
|
||||
DEPENDS = "pugixml"
|
||||
DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/libgles2"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user