Merge pull request #1447 from phillvancejr/master

Added vendor glfw support for Mac OS
This commit is contained in:
Jeroen van Rijn
2022-07-28 16:05:59 +02:00
committed by GitHub
9 changed files with 8 additions and 1 deletions
+7
View File
@@ -13,6 +13,13 @@ when ODIN_OS == .Windows {
} else when ODIN_OS == .Linux { } else when ODIN_OS == .Linux {
// TODO: Add the billion-or-so static libs to link to in linux // TODO: Add the billion-or-so static libs to link to in linux
foreign import glfw "system:glfw" foreign import glfw "system:glfw"
} else when ODIN_OS == .Darwin {
foreign import glfw {
"../lib/darwin/libglfw3.a",
"system:Cocoa.framework",
"system:IOKit.framework",
"system:OpenGL.framework",
}
} else { } else {
foreign import glfw "system:glfw" foreign import glfw "system:glfw"
} }
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.