From 6077c5b7c3522f18e294419ce1da0aadbefd004a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Wagner?= Date: Thu, 13 Jan 2022 18:09:03 +0100 Subject: meson: show vapi option in summary Also protect against misconfiguration of introspection and vapi as introspection is needed for vapi generation --- rest-extras/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rest-extras') diff --git a/rest-extras/meson.build b/rest-extras/meson.build index 159676b..67e6fd0 100644 --- a/rest-extras/meson.build +++ b/rest-extras/meson.build @@ -45,6 +45,10 @@ librest_extras_dep = declare_dependency( link_with: librest_extras_lib, ) +if get_option('vapi') and not get_option('introspection') + warning('Vapi generation needs "introspection" option in order to generate the .vapi file') +endif + if get_option('introspection') librest_extras_gir = gnome.generate_gir(librest_extras_lib, sources: librest_extras_sources + librest_extras_headers, -- cgit v1.2.1