new file mode 100644
@@ -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"
Add a backport patch that fixes build with cmake 4 Signed-off-by: Markus Volk <f_l_k@t-online.de> --- ...426020932ebc481ae35c15f644af2f17e88a.patch | 23 +++++++++++++++++++ .../wayland/waylandpp_1.0.0.bb | 7 ++++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 meta-oe/recipes-graphics/wayland/waylandpp/4576426020932ebc481ae35c15f644af2f17e88a.patch