meson: Drop unnecessary egl, gles feature defines
`HAVE_LIBEGL` and `HAVE_GLESV2` are not used, so drop them. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Milan Zamazal <mzamazal@redhat.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Bryan O'Donoghue <bod.linux@nxsw.ie>
This commit is contained in:
@@ -74,14 +74,6 @@ mesa_works = cc.check_header('EGL/egl.h', required: false)
|
||||
libegl = dependency('egl', required : false)
|
||||
libglesv2 = dependency('glesv2', required : false)
|
||||
|
||||
if libegl.found()
|
||||
config_h.set('HAVE_LIBEGL', 1)
|
||||
endif
|
||||
|
||||
if libglesv2.found()
|
||||
config_h.set('HAVE_GLESV2', 1)
|
||||
endif
|
||||
|
||||
if mesa_works
|
||||
libcamera_internal_sources += files([
|
||||
'egl.cpp',
|
||||
|
||||
Reference in New Issue
Block a user