Update rootston to use new option

This commit is contained in:
Scott Anderson 2018-08-22 20:41:25 +12:00
parent 784c20c82f
commit 560e96aa57
3 changed files with 7 additions and 7 deletions

View file

@ -11,8 +11,8 @@ sources = [
'seat.c',
'virtual_keyboard.c',
'wl_shell.c',
'xdg_shell_v6.c',
'xdg_shell.c',
'xdg_shell_v6.c',
]
if conf_data.get('WLR_HAS_XWAYLAND', false)
@ -20,5 +20,8 @@ if conf_data.get('WLR_HAS_XWAYLAND', false)
endif
executable(
'rootston', sources, dependencies: [wlroots, wlr_protos, pixman]
'rootston',
sources,
dependencies: [wlroots, wlr_protos, pixman],
build_by_default: get_option('rootston'),
)