diff --git a/docs/meson.build b/docs/meson.build index a6697ee7..d084ade8 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -1,5 +1,9 @@ build_hotdoc = false +if get_option('doc').disabled() + subdir_done() +endif + if meson.is_cross_build() if get_option('doc').enabled() error('Documentation enabled but building the doc while cross building is not supported yet.')