docs: do not require gst-plugins-doc-cache-generator

Do not require the cache generator. This is in line with the other
gstreamer modules
This commit is contained in:
Marc Leeman 2019-09-11 15:59:42 +00:00 committed by Mathieu Duponchelle
parent 06c249cabb
commit f4859ff73d

View file

@ -14,7 +14,8 @@ if gst_dep.type_name() == 'internal'
gst_proj = subproject('gstreamer')
plugins_cache_generator = gst_proj.get_variable('plugins_cache_generator')
else
plugins_cache_generator = find_program(join_paths(gst_dep.get_pkgconfig_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'))
plugins_cache_generator = find_program(join_paths(gst_dep.get_pkgconfig_variable('libexecdir'), 'gstreamer-' + api_version, 'gst-plugins-doc-cache-generator'),
required: false)
endif
plugins_cache = join_paths(meson.current_source_dir(), 'gst_plugins_cache.json')