meson: fix building -bad tests with disabled soundtouch

Fixes an error from Meson:

../subprojects/gst-plugins-bad/tests/validate/meson.build:16:93: ERROR:
Unknown variable "soundtouch_dep"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9190>
This commit is contained in:
Jakub Adam 2025-06-06 16:24:19 +02:00
parent 0e78a6c5aa
commit 12607d67b1

View File

@ -20,6 +20,7 @@ plugin_sources += {
soundtouch_cargs = ['-DHAVE_SOUNDTOUCH']
if get_option('soundtouch').disabled()
soundtouch_dep = dependency('', required: false)
subdir_done()
endif