diff options
author | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2022-01-14 13:54:23 +0100 |
---|---|---|
committer | Bilal Elmoussaoui <bil.elmoussaoui@gmail.com> | 2022-01-14 14:41:41 +0100 |
commit | a2b31f930731e28707df94132605f44782bbef0f (patch) | |
tree | cd483e43cd90797de3f8b0f4b0966546dfdb1499 | |
parent | 9b8aca0c05d8c9df2c91f1177beaeb992ff0d795 (diff) | |
download | geocode-glib-bilelmoussaoui/gi-docgen.tar.gz |
misc: require g-ir-scanner if introspection is enabledbilelmoussaoui/gi-docgen
Otherwise this causes weird issues were you expect the build to fail but it doesn't and throws a completely different error
-rw-r--r-- | geocode-glib/meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geocode-glib/meson.build b/geocode-glib/meson.build index 3b3786b..837e563 100644 --- a/geocode-glib/meson.build +++ b/geocode-glib/meson.build @@ -98,10 +98,10 @@ pkgconf.generate(libraries: libgcglib, 'soupapiversion=' + soup_api_version, ]) -gir = find_program('g-ir-scanner', required: false) enable_gir = get_option('enable-introspection') -if gir.found() and enable_gir +if enable_gir + find_program('g-ir-scanner') gir_args = [ '--quiet', '--c-include=geocode-glib/geocode-glib.h' |