build: move wayland-client dep to backend/wayland/

wayland-client isn't really used by wlroots core, so let's move the
dep to where it's needed in the Wayland backend.
This commit is contained in:
Simon Ser 2021-12-07 16:11:29 +01:00
parent c50c4fc5cc
commit ad28490cf4
3 changed files with 7 additions and 5 deletions

View file

@ -1,3 +1,9 @@
wayland_client = dependency('wayland-client',
fallback: ['wayland', 'wayland_client_dep'],
default_options: wayland_project_options,
)
wlr_deps += wayland_client
wlr_files += files(
'backend.c',
'output.c',