summaryrefslogtreecommitdiff
path: root/atk/meson.build
diff options
context:
space:
mode:
authorIgnacio Casal Quinteiro <qignacio@amazon.com>2018-04-17 08:44:15 +0200
committerIgnacio Casal Quinteiro <qignacio@amazon.com>2018-04-17 09:09:55 +0200
commit67ffa20b53210b16972419bcf02f8a0702712cf9 (patch)
tree193ec8c35e0e77c2fe0232ff3771c3109d2764f4 /atk/meson.build
parent0ae3ec7578f1638b067f0e26bac5b0c52db82b60 (diff)
downloadat-spi2-core-67ffa20b53210b16972419bcf02f8a0702712cf9.tar.gz
meson: follow option convetions
https://bugzilla.gnome.org/show_bug.cgi?id=795301
Diffstat (limited to 'atk/meson.build')
-rw-r--r--atk/meson.build4
1 files changed, 1 insertions, 3 deletions
diff --git a/atk/meson.build b/atk/meson.build
index 7b5a683d..616a3e6c 100644
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -137,9 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk,
dependencies: gobject_dep,
sources: atk_enum_h)
-disable_introspection = get_option('disable_introspection')
-
-if not meson.is_cross_build() and not disable_introspection
+if not meson.is_cross_build() and get_option('introspection')
gnome.generate_gir(libatk,
sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ],
namespace: 'Atk',