diff options
author | JCWasmx86 <JCWasmx86@t-online.de> | 2023-03-28 19:44:18 +0200 |
---|---|---|
committer | JCWasmx86 <JCWasmx86@t-online.de> | 2023-03-28 20:56:52 +0200 |
commit | 1e41f0e0a4e79fabed00d751d16b774fffb7fb7c (patch) | |
tree | 5f24a8891f75af8aa532636464a2878a43010e18 /meson.build | |
parent | 205518b1821dc6b1b217c91b1c14ada764e5a104 (diff) | |
download | libpeas-1e41f0e0a4e79fabed00d751d16b774fffb7fb7c.tar.gz |
build: Build VAPI
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 10a9175..c665b3f 100644 --- a/meson.build +++ b/meson.build @@ -142,6 +142,8 @@ if not lua51_prg.found() endif luajit_prg = find_program('luajit', required: false) xmllint_prg = find_program('xmllint', required: false) +generate_vapi = get_option('vapi') +vapigen_prg = find_program('vapigen', required: generate_vapi) if cc.get_id() == 'msvc' if luajit_prg.found() @@ -334,6 +336,10 @@ if generate_gir and not introspection_dep.found() generate_gir = false endif +if not generate_gir + generate_vapi = false +endif + build_lua51_loader = get_option('lua51') lua51_found = (luajit_dep.found() or lua51_dep.found()) and lua_lgi_found if build_lua51_loader and not lua51_found |