From 04775dc8a410d1ac493a9f9bcafa1c3da6381c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 20 Oct 2015 21:15:28 -0700 Subject: [PATCH] Fixed issue #549. --- scripts/bgfx.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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" }