diff options
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 67ddb0901..1e0f7dd43 100644 --- a/meson.build +++ b/meson.build @@ -100,6 +100,10 @@ if get_option('tests') endif python = import('python').find_installation('python3', modules: py_modules) +if get_option('vapi').enabled() and get_option('introspection').disabled() + error('Vala binding generation requires the \'introspection\' to be enabled') +endif + cc_warning_flags = [ '-Wformat', '-Wformat-security', @@ -340,8 +344,6 @@ tracker_internal_libs_dir = join_paths(get_option('prefix'), get_option('libdir' # the ontology is installed to the same location. tracker_ontologies_dir = join_paths(get_option('prefix'), get_option('datadir'), tracker_versioned_name, 'ontologies') -vapi_dir = join_paths(get_option('prefix'), get_option('datadir'), 'vala', 'vapi') - if gobject_introspection.found() typelib_dir = gobject_introspection.get_variable(pkgconfig: 'typelibdir', pkgconfig_define: [ 'libdir', libdir ]) |