mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
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:
parent
c50c4fc5cc
commit
ad28490cf4
3 changed files with 7 additions and 5 deletions
|
@ -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',
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
threads = dependency('threads')
|
||||
wayland_egl = dependency('wayland-egl')
|
||||
wayland_cursor = dependency('wayland-cursor')
|
||||
wayland_client = dependency('wayland-client')
|
||||
libpng = dependency('libpng', required: false, disabler: true)
|
||||
egl = dependency('egl', required: false, disabler: true)
|
||||
glesv2 = dependency('glesv2', required: false, disabler: true)
|
||||
|
|
|
@ -103,10 +103,6 @@ wayland_server = dependency('wayland-server',
|
|||
fallback: ['wayland', 'wayland_server_dep'],
|
||||
default_options: wayland_project_options,
|
||||
)
|
||||
wayland_client = dependency('wayland-client',
|
||||
fallback: ['wayland', 'wayland_client_dep'],
|
||||
default_options: wayland_project_options,
|
||||
)
|
||||
|
||||
drm = dependency('libdrm', version: '>=2.4.105')
|
||||
gbm = dependency('gbm', version: '>=17.1.0')
|
||||
|
@ -119,7 +115,6 @@ rt = cc.find_library('rt')
|
|||
wlr_files = []
|
||||
wlr_deps = [
|
||||
wayland_server,
|
||||
wayland_client,
|
||||
drm,
|
||||
gbm,
|
||||
xkbcommon,
|
||||
|
|
Loading…
Reference in a new issue