summaryrefslogtreecommitdiff
path: root/gtk/meson.build
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-12-19 21:10:55 -0500
committerMatthias Clasen <mclasen@redhat.com>2022-12-19 22:38:38 -0500
commitd758754f200f584b732d2d8d7eccabc2249e57fa (patch)
treee54767876c518210fff4fbbe67536bbad6cf5652 /gtk/meson.build
parente049b6992ddd7a3198a6041c101c0012ef2588b6 (diff)
downloadgtk+-d758754f200f584b732d2d8d7eccabc2249e57fa.tar.gz
build: Lift gir and build_gir to toplevel
build_gir is used in multiple subdirectories, so it is a bit nasty that it is defined in one too.
Diffstat (limited to 'gtk/meson.build')
-rw-r--r--gtk/meson.build3
1 files changed, 0 insertions, 3 deletions
diff --git a/gtk/meson.build b/gtk/meson.build
index 61185696dd..7ac245419a 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -1180,9 +1180,6 @@ libgtk = shared_library('gtk-4',
gtk_dep_sources = [gtkversion, gtktypebuiltins_h]
# Introspection
-gir = find_program('g-ir-scanner', required : get_option('introspection'))
-build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled())
-
if build_gir
gir_args = [
'-DGTK_COMPILATION',