meson: unbreak with system wlroots after fd4ea3542f

meson.build:50:2: ERROR: All keyword arguments must be after positional arguments.
This commit is contained in:
Jan Beich 2021-04-15 20:49:24 +00:00 committed by Johan Malm
parent 560a06cbf1
commit b997d8e793

View file

@ -47,7 +47,7 @@ if wlroots_proj.found()
wlroots_conf = wlroots_proj.get_variable('conf_data')
wlroots_has_xwayland = wlroots_conf.get('WLR_HAS_XWAYLAND') == 1
else
wlroots = dependency('wlroots', version: '>=0.13.0', '<0.14.0')
wlroots = dependency('wlroots', version: ['>=0.13.0', '<0.14.0'])
wlroots_has_xwayland = cc.get_define('WLR_HAS_XWAYLAND', prefix: '#include <wlr/config.h>', dependencies: wlroots) == '1'
endif
wayland_server = dependency('wayland-server', version: '>=0.19.0')