opencv: set opencv_dep when option is disabled (#1406)

The examples build file checks opencv_dep, so it still needs to
be set even if the option is disabled.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1406

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1570>
This commit is contained in:
Adam Williamson 2020-09-10 10:35:11 -07:00 committed by GStreamer Merge Bot
parent c096d30f6b
commit 52ef192526

View file

@ -1,4 +1,5 @@
if get_option('opencv').disabled()
opencv_dep = disabler()
subdir_done()
endif