aboutsummaryrefslogtreecommitdiff
path: root/util
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 /util
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 'util')
-rw-r--r--util/meson.build2
1 files changed, 1 insertions, 1 deletions
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')