From d037427e96b75d66d73fac73eda659b6fcaf33c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= Date: Sun, 6 Oct 2024 14:46:19 +0200 Subject: [PATCH] protocols/meson: fix missing wayland header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Compilation of wlr-foreign-toplevel-management-unstable-v1.cpp fails due to its header including . This change adds the required dependency to the static library. Signed-off-by: Florian "sp1rit"​ --- protocols/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/protocols/meson.build b/protocols/meson.build index 6990b5a..d28aefd 100644 --- a/protocols/meson.build +++ b/protocols/meson.build @@ -92,9 +92,11 @@ wayland_protocol = custom_target( command: [hyprwayland_scanner, '--wayland-enums', '@INPUT@', '@OUTDIR@'], ) +wayland_server_dep = dependency('wayland-server', version: '>=1.20.0') lib_server_protos = static_library( 'server_protos', wl_protocols + wayland_protocol, + dependencies: wayland_server_dep.partial_dependency(compile_args: true), ) server_protos = declare_dependency( -- 2.46.0