diff --git a/meson.build b/meson.build index b7b23470..49c48c6c 100644 --- a/meson.build +++ b/meson.build @@ -27,6 +27,12 @@ endif wlroots = subproject('wlroots-hyprland', default_options: ['examples=false', 'renderers=gles2']) have_xwlr = wlroots.get_variable('features').get('xwayland') xcb_dep = dependency('xcb', required: get_option('xwayland')) +xcb_composite_dep = dependency('xcb-composite', required: get_option('xwayland')) +xcb_errors_dep = dependency('xcb-errors', required: get_option('xwayland')) +xcb_icccm_dep = dependency('xcb-icccm', required: get_option('xwayland')) +xcb_render_dep = dependency('xcb-render', required: get_option('xwayland')) +xcb_res_dep = dependency('xcb-res', required: get_option('xwayland')) +xcb_xfixes_dep = dependency('xcb-xfixes', required: get_option('xwayland')) cmake = import('cmake') udis = cmake.subproject('udis86') diff --git a/src/meson.build b/src/meson.build index 7a00a5ff..ef00d4e0 100644 --- a/src/meson.build +++ b/src/meson.build @@ -18,6 +18,12 @@ executable('Hyprland', src, dependency('xkbcommon'), dependency('libinput'), xcb_dep, + xcb_composite_dep, + xcb_errors_dep, + xcb_icccm_dep, + xcb_render_dep, + xcb_res_dep, + xcb_xfixes_dep, backtrace_dep, epoll_dep, udis86,