Use new options for X11 backend and Xwayland

This commit is contained in:
Scott Anderson 2018-08-22 20:27:37 +12:00
parent 94ed2fc7bb
commit 784c20c82f
6 changed files with 90 additions and 68 deletions

View file

@ -14,9 +14,11 @@ sources = [
'xdg_shell_v6.c',
'xdg_shell.c',
]
if get_option('enable-xwayland')
sources += ['xwayland.c']
if conf_data.get('WLR_HAS_XWAYLAND', false)
sources += 'xwayland.c'
endif
executable(
'rootston', sources, dependencies: [wlroots, wlr_protos, pixman]
)