meson: install KHR/khrplatform.h when needed

Fixes: f7d42ee7d3 "include: update GL & GLES headers (v2)"
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom 2018-08-07 14:59:36 +01:00
parent ed07e831a8
commit e02f061b69
1 changed files with 1 additions and 1 deletions

View 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