From: Nirbheek Chauhan Date: Tue, 28 Aug 2018 08:05:28 +0000 (+0530) Subject: meson: Always define gstgl_dep to a valid dependency object X-Git-Tag: 1.19.3~511^2~1516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=12236671c787f835a74f1dce3c7d0c388deff32c;p=platform%2Fupstream%2Fgstreamer.git meson: Always define gstgl_dep to a valid dependency object Fixes configure error when gl support was auto-detected as not being available: ext/gl/meson.build:50:20: ERROR: Unknown variable "gstgl_dep". --- diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index 8a5a83f..58bcb3d 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -829,4 +829,6 @@ if build_gstgl elif get_option('gl').enabled() error('GStreamer OpenGL integration required via options, but needed dependencies not found.') +else + gstgl_dep = dependency('', required : false) endif