meson: wayland_client_dep is false when wayland is disabled

Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
orbea 2023-01-24 11:06:59 -08:00
parent f33962966f
commit d266274ca9

View File

@ -205,8 +205,8 @@ libxcvt_dep = dependency('libxcvt', fallback: ['libxcvt', 'libxcvt_dep'], requir
build_xwayland = false build_xwayland = false
if (host_machine.system() != 'darwin' and if (host_machine.system() != 'darwin' and
host_machine.system() != 'windows') host_machine.system() != 'windows' and
if get_option('xwayland') != 'false' get_option('xwayland') != 'false')
xwayland_required = get_option('xwayland') == 'true' xwayland_required = get_option('xwayland') == 'true'
build_glamor = glamor_option == 'true' or glamor_option == 'auto' build_glamor = glamor_option == 'true' or glamor_option == 'auto'
@ -234,7 +234,6 @@ if (host_machine.system() != 'darwin' and
build_xwayland = false build_xwayland = false
endif endif
endforeach endforeach
endif
else else
wayland_client_dep = dependency('', required: false) wayland_client_dep = dependency('', required: false)
endif endif