build: disable unused wlroots backends and renderers

This commit is contained in:
Simon Ser 2021-09-15 18:44:36 +02:00
parent 12bff15700
commit 033695da64

View file

@ -47,7 +47,7 @@ wlroots_dep = dependency(
'wlroots',
version: ['>= 0.15.0', '< 0.16.0'],
fallback: ['wlroots', 'wlroots'],
default_options: ['default_library=static', 'examples=false', 'xwayland=enabled'],
default_options: ['default_library=static', 'examples=false', 'xwayland=enabled', 'backends=libinput', 'renderers=[]'],
)
wlroots_has_xwayland = wlroots_dep.get_variable(pkgconfig: 'have_xwayland', internal: 'have_xwayland') == 'true'