diff --git a/meson.build b/meson.build index f78ddbfbc3..193d453ef5 100644 --- a/meson.build +++ b/meson.build @@ -184,7 +184,7 @@ configure_file( ) if documented_projects != '' - subproject('gst-docs') + subproject('gst-docs', required: get_option('doc').enabled()) message('Gst docs subprojects: ' + documented_projects) endif