File 0001-CMake-wayland-add-missing-wayland-client-CFLAGS.patch of Package noctalia-qs
From 7544844d54b59c52b1e4dfbbb299a973fa0bac17 Mon Sep 17 00:00:00 2001
From: Mia Herkt <mia@0x0.st>
Date: Wed, 18 Mar 2026 20:37:17 +0100
Subject: [PATCH] (CMake) wayland: add missing wayland-client CFLAGS
---
src/wayland/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/wayland/CMakeLists.txt b/src/wayland/CMakeLists.txt
index aebb9c0..7974723 100644
--- a/src/wayland/CMakeLists.txt
+++ b/src/wayland/CMakeLists.txt
@@ -68,6 +68,7 @@ function (wl_proto target name dir)
target_include_directories(${target} INTERFACE ${PROTO_BUILD_PATH})
target_link_libraries(${target} wl-proto-${name}-wl Qt6::WaylandClient Qt6::WaylandClientPrivate)
qs_pch(${target} SET wayland-protocol)
+ target_compile_options(wl-proto-${name}-wl PRIVATE ${wayland_CFLAGS})
endfunction()
# -----
--
2.53.0