i965: expose SRGB visuals and turn on EGL_KHR_gl_colorspace
[mesa.git] / include / meson.build
index beb57e3e04484e9bc955070945af0869b57586eb..b5f533bd185ba9fbd6e4001ced2dfcceadfc7274 100644 (file)
@@ -51,10 +51,18 @@ if with_opengl
   )
 endif
 
-if with_glx
+if with_glx != 'disabled'
   install_headers('GL/glx.h', 'GL/glext.h', 'GL/glx_mangle.h', subdir : 'GL')
 endif
 
-if with_osmesa
+if with_osmesa != 'none'
   install_headers('GL/osmesa.h', subdir : 'GL')
 endif
+
+if with_egl
+  install_headers(
+    'EGL/eglext.h', 'EGL/egl.h', 'EGL/eglextchromium.h', 'EGL/eglmesaext.h',
+    'EGL/eglplatform.h',
+    subdir : 'EGL',
+  )
+endif