devel-docs: don't build reference docs when GIR aren't generated.

This can happens in cross-compilation cases for instance.
This commit is contained in:
Jehan 2023-05-08 17:36:06 +02:00
parent e22c027bbf
commit b64f79fed9
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ mkdb_args_common = [
'--name-space=gimp',
]
if gi_docgen.found()
if gi_docgen.found() and have_gobject_introspection
subdir('reference')
endif