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. --- util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/meson.build b/util/meson.build index 6b423980..8c988b23 100644 --- a/util/meson.build +++ b/util/meson.build @@ -9,7 +9,7 @@ wlr_files += files( ) -if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) == 1 +if features.get('xdg-foreign') if uuid.found() wlr_deps += uuid add_project_arguments('-DHAS_LIBUUID=1', language: 'c') -- cgit v1.2.3