meson: wayland_client_dep is false when wayland is disabled
Signed-off-by: orbea <orbea@riseup.net>
This commit is contained in:
parent
f33962966f
commit
d266274ca9
|
@ -205,8 +205,8 @@ libxcvt_dep = dependency('libxcvt', fallback: ['libxcvt', 'libxcvt_dep'], requir
|
|||
|
||||
build_xwayland = false
|
||||
if (host_machine.system() != 'darwin' and
|
||||
host_machine.system() != 'windows')
|
||||
if get_option('xwayland') != 'false'
|
||||
host_machine.system() != 'windows' and
|
||||
get_option('xwayland') != 'false')
|
||||
xwayland_required = get_option('xwayland') == 'true'
|
||||
build_glamor = glamor_option == 'true' or glamor_option == 'auto'
|
||||
|
||||
|
@ -234,7 +234,6 @@ if (host_machine.system() != 'darwin' and
|
|||
build_xwayland = false
|
||||
endif
|
||||
endforeach
|
||||
endif
|
||||
else
|
||||
wayland_client_dep = dependency('', required: false)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue