mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
Skip gst-devtools if json-glib-1.0 is missing
We shouldn't fail hard because of a gst-devtools dependency, so if json-glib-1.0 is not found, just skip the module and build the rest.
This commit is contained in:
parent
0b560fb187
commit
33e0791294
1 changed files with 4 additions and 0 deletions
|
@ -48,7 +48,11 @@ if not get_option('disable_gst_libav')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('disable_gst_devtools')
|
if not get_option('disable_gst_devtools')
|
||||||
|
if dependency('json-glib-1.0', required : false).found()
|
||||||
subprojects += ['gst-devtools']
|
subprojects += ['gst-devtools']
|
||||||
|
else
|
||||||
|
message('WARNING: not building gst-devtools module, missing glib-json-1.0')
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if not get_option('disable_gst_editing_services')
|
if not get_option('disable_gst_editing_services')
|
||||||
|
|
Loading…
Reference in a new issue