From d41f11e6bd8cef80f02dda4c66d4a31611aed753 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 28 Nov 2022 20:09:10 +0100 Subject: build: fix have_xwayland when xcb-icccm is not found xcb-icccm is required to build Xwayland support. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index e22bc36e..fa008332 100644 --- a/meson.build +++ b/meson.build @@ -86,7 +86,7 @@ rt = cc.find_library('rt') xcb_icccm = dependency('xcb-icccm', required: get_option('xwayland')) threads = dependency('threads') # for pthread_setschedparam -have_xwayland = xcb.found() and wlroots_features['xwayland'] +have_xwayland = xcb.found() and xcb_icccm.found() and wlroots_features['xwayland'] if get_option('sd-bus-provider') == 'auto' if not get_option('tray').disabled() -- cgit v1.2.3-54-g00ecf