diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-11-22 11:55:51 +0100 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2018-12-14 14:47:01 -0500 |
commit | fbe492fd2b64ff3ed8a9e7c2e7ac4cd7ff4a0f09 (patch) | |
tree | 7cb975b2afe8802d22c5d65601393f5a26178823 /nice/meson.build | |
parent | 8ce2b76b3228ee4812b943d1436e5a31c8d4ab6f (diff) | |
download | libnice-fbe492fd2b64ff3ed8a9e7c2e7ac4cd7ff4a0f09.tar.gz |
meson: disable introspection if g-ir-scanner is not found
Diffstat (limited to 'nice/meson.build')
-rw-r--r-- | nice/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nice/meson.build b/nice/meson.build index 5d7755b..f7f608b 100644 --- a/nice/meson.build +++ b/nice/meson.build @@ -32,7 +32,7 @@ install_headers('nice.h', subdir: 'nice') nice_include = include_directories('.') # introspection -build_gir = not get_option('introspection').disabled() and get_option('default_library') != 'static' +build_gir = gir.found() and not get_option('introspection').disabled() and get_option('default_library') != 'static' if build_gir nice_gen_sources += [ gnome.generate_gir(libnice, |