meson: hls: Only build when any crypto_dep is found

https://bugzilla.gnome.org/show_bug.cgi?id=773114
This commit is contained in:
Scott D Phillips 2016-10-21 00:37:03 -07:00 committed by Tim-Philipp Müller
parent 2ea67f0da2
commit 67d0eefb81

View File

@ -25,6 +25,7 @@ else
endif
endif
if hls_crypto_dep.found()
gsthls = library('gsthls',
hls_sources,
c_args : gst_plugins_bad_args + hls_cargs,
@ -36,3 +37,4 @@ gsthls = library('gsthls',
install : true,
install_dir : plugins_install_dir,
)
endif