labwc 0.2.0

This commit is contained in:
Johan Malm 2021-04-15 21:35:47 +01:00
parent a120cc0cac
commit fd4ea3542f

View file

@ -1,7 +1,7 @@
project( project(
'labwc', 'labwc',
'c', 'c',
version: '0.1.0', version: '0.2.0',
license: 'GPL-2', license: 'GPL-2',
default_options: [ default_options: [
'c_std=c11', 'c_std=c11',
@ -47,7 +47,7 @@ if wlroots_proj.found()
wlroots_conf = wlroots_proj.get_variable('conf_data') wlroots_conf = wlroots_proj.get_variable('conf_data')
wlroots_has_xwayland = wlroots_conf.get('WLR_HAS_XWAYLAND') == 1 wlroots_has_xwayland = wlroots_conf.get('WLR_HAS_XWAYLAND') == 1
else else
wlroots = dependency('wlroots', version: '>= 0.13.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' wlroots_has_xwayland = cc.get_define('WLR_HAS_XWAYLAND', prefix: '#include <wlr/config.h>', dependencies: wlroots) == '1'
endif endif
wayland_server = dependency('wayland-server', version: '>=0.19.0') wayland_server = dependency('wayland-server', version: '>=0.19.0')