From 6f873078d4c0a941954be2873d3bb37f63ff31a8 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 8 Feb 2021 15:16:10 +0100 Subject: build: use dictionnary for features instead of configuration_data This allows us to easily iterate on all features and only deal with bools. --- xwayland/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xwayland') 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 } -- cgit v1.2.3