aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'rootston')
-rw-r--r--rootston/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/rootston/meson.build b/rootston/meson.build
index 8ab872b5..b461e1a0 100644
--- a/rootston/meson.build
+++ b/rootston/meson.build
@@ -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]
)