diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-08-22 18:47:50 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-08-22 18:47:50 +0100 |
commit | 99e496010eecadfb6a6931288dcc5149b37bbdd9 (patch) | |
tree | 76ecd99f05eef0e8b6a7f0205155fec6157d8d26 /doc | |
parent | 0a069ee9fea75a3caebcbe43005d3ad7d9e3c116 (diff) | |
download | libgweather-99e496010eecadfb6a6931288dcc5149b37bbdd9.tar.gz |
build: Disable documentation when cross-compiling
The API reference depends on the introspection data, and in order to
build that, we have to ensure that we are not cross-compiling.
Fixes: #170
Diffstat (limited to 'doc')
-rw-r--r-- | doc/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/meson.build b/doc/meson.build index aca2482..de2a2b5 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,4 +1,4 @@ -if get_option('gtk_doc') and get_option('introspection') +if build_docs dependency('gi-docgen', version: '>= 2021.6', fallback: ['gi-docgen', 'dummy_dep'], ) |