meson: install KHR/khrplatform.h when needed
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 7 Aug 2018 13:59:36 +0000 (14:59 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 7 Aug 2018 14:57:32 +0000 (15:57 +0100)
Fixes: f7d42ee7d319256608ad "include: update GL & GLES headers (v2)"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
include/meson.build

index b4555eabbfc7f3a42c2424e3745aa5c4cbf9c2e0..081c1bc00088c956d47e1d90360b26cbdf3b0883 100644 (file)
@@ -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