summaryrefslogtreecommitdiff
path: root/atk/meson.build
diff options
context:
space:
mode:
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 7b5a683..616a3e6 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',