From ff306c5f8c50ed1f904e00f6582c21ff13ff43f9 Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Fri, 3 Dec 2021 03:14:45 +0800 Subject: [PATCH] meson/win32: There is no need install OpenGL headers on win32 The libraries that use OpenGL already handling the non-exist of OpenGL headers for both MSVC and MINGW, so there is no need install them Signed-off-by: Yonggang Luo Acked-by: Jesse Natalie Part-of: --- include/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/meson.build b/include/meson.build index c55325d2cd5..a955ac71073 100644 --- a/include/meson.build +++ b/include/meson.build @@ -28,7 +28,7 @@ if with_android_stub inc_include += [include_directories('android_stub')] endif -if not with_glvnd +if not with_glvnd and host_machine.system() != 'windows' if with_gles1 or with_gles2 or with_opengl or with_egl install_headers('KHR/khrplatform.h', subdir : 'KHR') endif