Fix partial dependency in protocol/meson.build

External dependencies in Meson do not have include_directories,
therefore "includes: true" means nothing for the wayland-client partial
dependency. Because of this, the -I CFLAGs for wayland-client are not
used by the build command. This commit fixes this by using compile_args.
This commit is contained in:
sghctoma 2018-09-10 12:12:13 +02:00
parent 842368ec98
commit 6fd1c63a69

View file

@ -77,7 +77,7 @@ endforeach
lib_wl_protos = static_library( lib_wl_protos = static_library(
'wl_protos', 'wl_protos',
wl_protos_src + wl_protos_headers, wl_protos_src + wl_protos_headers,
dependencies: wayland_client.partial_dependency(includes: true), dependencies: wayland_client.partial_dependency(compile_args: true),
) )
wlr_protos = declare_dependency( wlr_protos = declare_dependency(