mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
meson: Don't generate doc cache when no plugins are enabled
Fixes gst-build with -Dauto-features=disabled -Drtsp_server=enabled
This commit is contained in:
parent
c2deb7f64b
commit
b2d5e4db52
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ else
|
|||
endif
|
||||
|
||||
plugins_cache = join_paths(meson.current_source_dir(), 'gst_plugins_cache.json')
|
||||
if plugins_cache_generator.found()
|
||||
if plugins.length() == 0
|
||||
message('All rtsp-server plugins have been disabled')
|
||||
elif plugins_cache_generator.found()
|
||||
plugins_doc_dep = custom_target('rtsp-server-plugins-doc-cache',
|
||||
command: [plugins_cache_generator, plugins_cache, '@OUTPUT@', '@INPUT@'],
|
||||
input: plugins,
|
||||
|
|
Loading…
Reference in a new issue