meson: pass doc option as required argument to gst-docs subproject

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-build/-/merge_requests/166>
This commit is contained in:
Mathieu Duponchelle 2020-06-24 14:37:28 +02:00
parent 075ed8610f
commit 4a3ceaa498

View file

@ -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