meson: Ignore EGL requirement

This commit is contained in:
Matt Borgerson 2023-01-23 00:30:40 -07:00
parent 8e3a1b2b2c
commit 28fb1e44c6
1 changed files with 4 additions and 4 deletions

View File

@ -1160,11 +1160,11 @@ opengl = not_found
if not get_option('opengl').auto() or have_system or have_vhost_user_gpu
epoxy = dependency('epoxy', method: 'pkg-config',
required: get_option('opengl'), kwargs: static_kwargs)
if cc.has_header('epoxy/egl.h', dependencies: epoxy)
#if cc.has_header('epoxy/egl.h', dependencies: epoxy)
opengl = epoxy
elif get_option('opengl').enabled()
error('epoxy/egl.h not found')
endif
# elif get_option('opengl').enabled()
# error('epoxy/egl.h not found')
# endif
endif
gbm = not_found
if (have_system or have_tools) and (virgl.found() or opengl.found())