do recommendation
This commit is contained in:
1 parent
fdc56c4d9a
commit
3039131a5f
1 file changed
+6
-2
Vendored
+6
-2
@@ -41,9 +41,13 @@ when ODIN_OS == .Windows {
|
|||||||
when GLFW_SHARED {
|
when GLFW_SHARED {
|
||||||
foreign import glfw "system:glfw"
|
foreign import glfw "system:glfw"
|
||||||
} else {
|
} else {
|
||||||
foreign import glfw {
|
@(private)
|
||||||
"../lib/libglfw3.a",
|
LIBGLFW3 :: "../lib/libglfw3.a"
|
||||||
|
when !#exists(LIBGLFW3) {
|
||||||
|
#panic("Could not find the static glfw library, add it at \"" + ODIN_ROOT + "vendor/glfw/lib/\"`")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreign import glfw { LIBGLFW3 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user