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/2656>
This commit is contained in:
Tim-Philipp Müller 2022-06-24 12:10:02 +01:00 committed by GStreamer Marge Bot
parent 8a2660dc7f
commit 0e551871c4

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],