examples: don't try and build jack examples if jack was disabled

Fixes meson build ERROR: Unknown variable "libjack_dep".

Fixes #1301

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2658>
This commit is contained in:
Tim-Philipp Müller 2022-06-24 12:10:02 +01:00
parent 9f5f465cc2
commit 1d31f9acaf

View file

@ -1,3 +1,7 @@
if get_option('jack').disabled()
subdir_done()
endif
if libjack_dep.found()
executable('jack_client', 'jack_client.c',
dependencies: [gst_dep, gtk_dep, libjack_dep],