summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2021-08-03 20:41:10 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2021-08-03 21:55:18 +0200
commit880245583e006b89edbfe6762f3bf21f5e3a7be1 (patch)
tree86775d7b925175a5eedea47fc7a529c133ae3870 /meson.build
parent6005ead8d2f7ad1fd352437da3f89d9f821250be (diff)
downloadlibqmi-880245583e006b89edbfe6762f3bf21f5e3a7be1.tar.gz
build,meson: Fix documentation generation
When the message collection is not fully built, the necessary symbols are not available for `gtkdoc-scan`. `full` option is forced in configure time.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index e84dd90d..c984cd5f 100644
--- a/meson.build
+++ b/meson.build
@@ -232,6 +232,7 @@ subdir('utils')
enable_gtk_doc = get_option('gtk_doc')
if enable_gtk_doc
+ assert(qmi_collection_name == 'full', 'Building documentation requires the \'full\' message collection.')
subdir('docs/reference/libqmi-glib')
endif