summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2019-08-23 18:29:16 +0200
committerJens Georg <mail@jensge.org>2019-08-23 18:35:07 +0200
commit13e45f94860461cadca89f2088bad65b5730bee8 (patch)
treedc4f1a53379c7d5da6117e2cb4af22d21552958d /meson.build
parent9db998ff5ceadb62fd1898a84c68894d986556e3 (diff)
downloadrygel-13e45f94860461cadca89f2088bad65b5730bee8.tar.gz
build: Add option to disable introspection
Fixes #143
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 85573e6c..4c8e4a9f 100644
--- a/meson.build
+++ b/meson.build
@@ -110,7 +110,7 @@ endif
posix = vala.find_library('posix')
sed = find_program('sed')
-g_ir_compiler = find_program('g-ir-compiler')
+g_ir_compiler = find_program('g-ir-compiler', required: get_option('introspection'))
gir_dir = join_paths(get_option('datadir'), 'gir-1.0')
typelib_dir = join_paths(get_option('libdir'), 'girepository-1.0')
pkgconfig_dir = join_paths(get_option('libdir'), 'pkgconfig')