mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-01 01:11:11 +00:00
meson: Don't generate doc cache when no plugins are enabled
Fixes gst-build with -Dauto-features=disabled -Dugly=enabled
This commit is contained in:
parent
f31f085e7b
commit
8f5b7a93b4
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ else
|
||||||
required: false)
|
required: false)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if plugins_cache_generator.found()
|
if plugins.length() == 0
|
||||||
|
message('All ugly plugins have been disabled')
|
||||||
|
elif plugins_cache_generator.found()
|
||||||
plugins_doc_dep = custom_target('ugly-plugins-doc-cache',
|
plugins_doc_dep = custom_target('ugly-plugins-doc-cache',
|
||||||
command: [plugins_cache_generator, plugins_cache, '@OUTPUT@', '@INPUT@'],
|
command: [plugins_cache_generator, plugins_cache, '@OUTPUT@', '@INPUT@'],
|
||||||
input: plugins,
|
input: plugins,
|
||||||
|
|
Loading…
Reference in a new issue