gl: x11-xcb is not a required dependency

Don't fail if it's not found..
This commit is contained in:
Tim-Philipp Müller 2016-11-11 01:05:55 +00:00
parent 4f19d5d20a
commit ba6b8c33e0

View file

@ -439,7 +439,7 @@ if need_platform_glx == 'yes'
endif
if need_win_x11 != 'no'
xcb_dep = dependency('x11-xcb')
xcb_dep = dependency('x11-xcb', required : false)
if x11_dep.found() and xcb_dep.found()
gl_sources += [
'x11/gstgldisplay_x11.c',