aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-02-15 23:44:44 +0100
committerSimon Ser <contact@emersion.fr>2021-02-15 23:44:44 +0100
commitccb86448eb53bab51f5e2797dd2e0ef159ce1948 (patch)
tree5e822685d7d85a74a54dbd2ef363c58f3b0fc23f
parent78685ec6aae0a667b265eebe5cf8fb8cfb3ba3dc (diff)
Replace leftover conf_data with features
-rw-r--r--include/meson.build6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/meson.build b/include/meson.build
index 310d6e33..30b9f2fe 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -1,13 +1,13 @@
subdir('wlr')
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
-if conf_data.get('WLR_HAS_X11_BACKEND', 0) != 1
+if not features.get('x11-backend')
exclude_files += 'backend/x11.h'
endif
-if conf_data.get('WLR_HAS_XWAYLAND', 0) != 1
+if not features.get('xwayland')
exclude_files += 'xwayland.h'
endif
-if conf_data.get('WLR_HAS_XDG_FOREIGN', 0) != 1
+if not features.get('xdg-foreign')
exclude_files += [
'types/wlr_xdg_foreign_v1.h',
'types/wlr_xdg_foreign_v2.h',