From 40cfe3f9bc693d19a0afcebbed4cf04b3084ae54 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Fri, 24 Dec 2021 12:25:02 +0000 Subject: [PATCH] meson: track proto sources dependency on wayland-client libwayland maybe installed outside of default C preprocessor search. libclient_protos.a.p/idle-inhibit-unstable-v1-protocol.c:28:10: fatal error: 'wayland-util.h' file not found #include "wayland-util.h" ^~~~~~~~~~~~~~~~ --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index daccfee..f4a1354 100644 --- a/meson.build +++ b/meson.build @@ -29,6 +29,7 @@ client_protos_headers = wayland_scanner_client.process(xml) lib_client_protos = static_library( 'client_protos', [ client_protos_src, client_protos_headers ], + dependencies: [ wayland_client ], ) client_protos = declare_dependency(