From 99e1bb1068fea0fd197aa83a769a3ea575afda3b Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 29 Jan 2019 17:42:04 +0200 Subject: [PATCH] meson: spa/plugins: don't check if the plugin dependencies have been found If these optional plugins are enabled in meson options, then the dependencies should be required to proceed. It is not cool to compile with let's say bluez5 explicitly enabled and after compilation discover that bluez was not found and meson silently skipped that plugin. --- spa/plugins/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/meson.build b/spa/plugins/meson.build index aa79bd48a..090830132 100644 --- a/spa/plugins/meson.build +++ b/spa/plugins/meson.build @@ -10,10 +10,10 @@ endif if get_option('audiotestsrc') subdir('audiotestsrc') endif -if get_option('bluez5') and sbc_dep.found() and bluez_dep.found() +if get_option('bluez5') subdir('bluez5') endif -if get_option('ffmpeg') and avcodec_dep.found() +if get_option('ffmpeg') subdir('ffmpeg') endif if get_option('support')