qroverlay: fix auto detection of json-glib for plugin
authorTim-Philipp Müller <tim@centricular.com>
Fri, 20 Nov 2020 13:22:48 +0000 (13:22 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 20 Nov 2020 13:22:48 +0000 (13:22 +0000)
commit53947cad29865ae4887b16416ce4569512b5c326
treea063292c86d24d1cf02c96c79c781ad4b804b896
parentd1e72901091b12e7cc5a4efe7406af04fe0477f8
qroverlay: fix auto detection of json-glib for plugin

Only want to check for json-glib when libqrencode was found,
but also it shouldn't be required but depend on the option.

Fixes #1465

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1824>
ext/qroverlay/meson.build