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".
This commit is contained in:
Nirbheek Chauhan 2018-08-28 13:35:28 +05:30
parent c537b2e2bb
commit 12236671c7

View file

@ -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