meson: Simplify build_glamor logic

Don't need the separate glamor_option variable anymore.

Fixes: 274d54d1c3 "meson: Build Xwayland unconditionally"
This commit is contained in:
Michel Dänzer 2021-02-16 15:46:04 +01:00 committed by Michel Dänzer
parent 22a3dedac3
commit fdc61c5a3c
1 changed files with 1 additions and 2 deletions

View File

@ -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 == '')