meson: Make dependency on rtsp-server really optionnal

This commit is contained in:
Thibault Saunier 2017-06-07 16:18:59 -04:00
parent 9a45cd41a9
commit 905a15c014

View file

@ -23,7 +23,8 @@ executable('gst-validate-media-check-' + apiversion,
) )
rtsp_server_dep = dependency('gstreamer-rtsp-server-' + apiversion, rtsp_server_dep = dependency('gstreamer-rtsp-server-' + apiversion,
fallback: ['gst-rtsp-server', 'gst_rtsp_server_dep']) fallback: ['gst-rtsp-server', 'gst_rtsp_server_dep'],
required: false)
if rtsp_server_dep.found() if rtsp_server_dep.found()
executable('gst-validate-rtsp-server-' + apiversion, executable('gst-validate-rtsp-server-' + apiversion,