diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 67107ba9..a946155b 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -81,8 +81,11 @@ function bgfxProject(_name, _kind, _defines) } configuration { "osx" } - links { - "Cocoa.framework", + linkoptions { + "-framework Cocoa", + "-framework Metal", + "-framework QuartzCore", + "-framework OpenGL", } configuration { "not nacl" }