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

Author: Yonggang Luo <[email protected]>
Date:   Fri Dec  3 03:14:45 2021 +0800

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 <[email protected]>
Acked-by: Jesse Natalie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14019>

---

 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

Reply via email to