aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-08 15:16:10 +0100
committerSimon Ser <contact@emersion.fr>2021-02-15 16:32:33 +0100
commit6f873078d4c0a941954be2873d3bb37f63ff31a8 (patch)
treec3148fc9ba03b6230c8241bd478748aae080b0ca /xwayland
parent2118a3ce47951352ee88bf475124988723d2d20a (diff)
build: use dictionnary for features instead of configuration_data
This allows us to easily iterate on all features and only deal with bools.
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/xwayland/meson.build b/xwayland/meson.build
index 6cd77189..e7956759 100644
--- a/xwayland/meson.build
+++ b/xwayland/meson.build
@@ -45,7 +45,7 @@ foreach lib, desc : xwayland_optional
)
if dep.found()
xwayland_libs += dep
- conf_data.set10('WLR_HAS_' + lib.underscorify().to_upper(), true)
+ features += { lib: true }
endif
endforeach
@@ -60,4 +60,4 @@ wlr_files += files(
'xwm.c',
)
wlr_deps += xwayland_libs
-conf_data.set10('WLR_HAS_XWAYLAND', true)
+features += { 'xwayland': true }