mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-24 03:39:45 +00:00
magnum: Fix KHR/khrplatform.h not found on vcpkg in VS (#7926)
Signed-off-by: Squareys <squareys@googlemail.com>
This commit is contained in:
parent
32a53e1f37
commit
6f7ef0f142
13
ports/magnum/004-khrplatform-include.patch
Normal file
13
ports/magnum/004-khrplatform-include.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/MagnumExternal/OpenGL/GL/flextGL.h b/src/MagnumExternal/OpenGL/GL/flextGL.h
|
||||
index 7d36f26e3..69cc8c82f 100644
|
||||
--- a/src/MagnumExternal/OpenGL/GL/flextGL.h
|
||||
+++ b/src/MagnumExternal/OpenGL/GL/flextGL.h
|
||||
@@ -118,7 +118,7 @@ void flextGLInit(Magnum::GL::Context& context);
|
||||
|
||||
/* Data types */
|
||||
|
||||
-#include <KHR/khrplatform.h>
|
||||
+#include "MagnumExternal/OpenGL/KHR/khrplatform.h"
|
||||
typedef unsigned int GLenum;
|
||||
typedef unsigned char GLboolean;
|
||||
typedef unsigned int GLbitfield;
|
@ -13,6 +13,7 @@ vcpkg_apply_patches(
|
||||
${CMAKE_CURRENT_LIST_DIR}/001-sdl-includes.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/002-tools-path.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/003-glfw-find-module.patch
|
||||
${CMAKE_CURRENT_LIST_DIR}/004-khrplatform-include.patch
|
||||
)
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL static)
|
||||
|
Loading…
Reference in New Issue
Block a user