mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
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:
parent
c537b2e2bb
commit
12236671c7
1 changed files with 2 additions and 0 deletions
|
@ -829,4 +829,6 @@ if build_gstgl
|
||||||
|
|
||||||
elif get_option('gl').enabled()
|
elif get_option('gl').enabled()
|
||||||
error('GStreamer OpenGL integration required via options, but needed dependencies not found.')
|
error('GStreamer OpenGL integration required via options, but needed dependencies not found.')
|
||||||
|
else
|
||||||
|
gstgl_dep = dependency('', required : false)
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue