build: force-enable xwayland in wlroots subproject

This should give a better error message if xwayland deps are missing.
This commit is contained in:
Simon Ser 2021-04-10 10:23:24 +02:00
parent e76d82828b
commit bee939e691

View file

@ -45,7 +45,7 @@ cap_dep = cc.find_library('cap')
sdl_dep = dependency('SDL2')
wlroots_proj = subproject('wlroots', required: false, default_options:
['default_library=static', 'examples=false'])
['default_library=static', 'examples=false', 'xwayland=enabled'])
if wlroots_proj.found()
wlroots_dep = wlroots_proj.get_variable('wlroots')
else