opencv: set opencv_dep when option is disabled (#1406)
authorAdam Williamson <awilliam@redhat.com>
Thu, 10 Sep 2020 17:35:11 +0000 (10:35 -0700)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 11 Sep 2020 07:16:21 +0000 (07:16 +0000)
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>

ext/opencv/meson.build

index 0b0b3fc..074272a 100644 (file)
@@ -1,4 +1,5 @@
 if get_option('opencv').disabled()
+  opencv_dep = disabler()
   subdir_done()
 endif