summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2021-02-16 15:46:04 +0100
committerMichel Dänzer <michel@daenzer.net>2021-02-17 11:55:19 +0000
commitfdc61c5a3cc2637a52928c8e2fd4d50118c7ffea (patch)
treec7548afc67bd474a28fc9fb525896f613833da7e
parent22a3dedac3bebef6c4e12b52bb1f1d15a434345d (diff)
meson: Simplify build_glamor logic
Don't need the separate glamor_option variable anymore. Fixes: 274d54d1c387 "meson: Build Xwayland unconditionally"
-rw-r--r--meson.build3
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index a1a8a571d..f52659c1d 100644
--- a/meson.build
+++ b/meson.build
@@ -146,7 +146,7 @@ else
default_font_path = dfp
endif
-glamor_option = get_option('glamor')
+build_glamor = get_option('glamor')
with_dtrace = get_option('dtrace')
if with_dtrace
@@ -154,7 +154,6 @@ if with_dtrace
endif
build_xwayland = true
-build_glamor = glamor_option != 'false'
xwayland_path = get_option('xwayland-path')
if (xwayland_path == '')