diff options
author | sghctoma <sghctoma@gmail.com> | 2018-09-10 12:12:13 +0200 |
---|---|---|
committer | sghctoma <sghctoma@gmail.com> | 2018-09-21 14:13:44 +0200 |
commit | 6fd1c63a697b272ccf384a39eb86e24bfea6fa82 (patch) | |
tree | 4cd83cd809e6e58ed36b9badc4144b4bc8593c6f | |
parent | 842368ec983cdf671cf16f5be51633392ed52d5e (diff) |
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.
-rw-r--r-- | protocol/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index 2d2a73ed..c46ad131 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -77,7 +77,7 @@ endforeach lib_wl_protos = static_library( 'wl_protos', 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( |