Mesa (master): meson: install KHR/khrplatform.h when needed

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 7 14:58:25 UTC 2018


Module: Mesa
Branch: master
Commit: e02f061b690def50060bcca76706e6407b83260f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e02f061b690def50060bcca76706e6407b83260f

Author: Eric Engestrom <eric.engestrom at intel.com>
Date:   Tue Aug  7 14:59:36 2018 +0100

meson: install KHR/khrplatform.h when needed

Fixes: f7d42ee7d319256608ad "include: update GL & GLES headers (v2)"
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

---

 include/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/meson.build b/include/meson.build
index b4555eabbf..081c1bc000 100644
--- a/include/meson.build
+++ b/include/meson.build
@@ -43,7 +43,7 @@ if with_gles2
   )
 endif
 
-if with_gles1 or with_gles2 or with_egl
+if with_gles1 or with_gles2 or with_opengl or with_egl
   install_headers('KHR/khrplatform.h', subdir : 'KHR')
 endif
 




More information about the mesa-commit mailing list