summaryrefslogtreecommitdiff
path: root/atspi/meson.build
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-09-12 13:37:42 -0400
committerFederico Mena Quintero <federico@gnome.org>2022-09-27 20:23:43 -0500
commitf659aab5b5db859d389f82b3d4a1a4a7b13ed849 (patch)
tree2f421536df28d21ae89eac12c4cfcbe0f0748074 /atspi/meson.build
parentf1c77c6444f20fd507370f848fa14f118fd91204 (diff)
downloadat-spi2-core-f659aab5b5db859d389f82b3d4a1a4a7b13ed849.tar.gz
meson: Change x11 option to feature
Diffstat (limited to 'atspi/meson.build')
-rw-r--r--atspi/meson.build9
1 files changed, 3 insertions, 6 deletions
diff --git a/atspi/meson.build b/atspi/meson.build
index bd8dbb19..e9d2882b 100644
--- a/atspi/meson.build
+++ b/atspi/meson.build
@@ -60,12 +60,9 @@ atspi_headers = [
'atspi-value.h',
]
-x11_option = get_option('x11')
-if x11_option != 'no'
- if x11_dep.found()
- atspi_sources += ['atspi-device-x11.c']
- atspi_headers += ['atspi-device-x11.h']
- endif
+if x11_dep.found()
+ atspi_sources += ['atspi-device-x11.c']
+ atspi_headers += ['atspi-device-x11.h']
endif
atspi_includedir = join_paths(get_option('prefix'), get_option('includedir'), 'at-spi-2.0', 'atspi')