Link xcb dependency to meson options "enable_xwayland"

This commit is contained in:
Michel Ganguin 2018-07-31 18:06:56 +02:00
parent 764c58464e
commit 5a7976dcc2

View file

@ -50,7 +50,7 @@ conf_data = configuration_data()
if get_option('enable-xwayland') if get_option('enable-xwayland')
conf_data.set('HAVE_XWAYLAND', true) conf_data.set('HAVE_XWAYLAND', true)
xcb = dependency('xcb') xcb = dependency('xcb')
else else
conf_data.set('HAVE_XWAYLAND', false) conf_data.set('HAVE_XWAYLAND', false)
endif endif