Jelajahi Sumber

Fixed issue #549.

Branimir Karadžić 10 tahun lalu
induk
melakukan
04775dc8a4
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 5 2
      scripts/bgfx.lua

+ 5 - 2
scripts/bgfx.lua

@@ -81,8 +81,11 @@ function bgfxProject(_name, _kind, _defines)
 			}
 			}
 
 
 		configuration { "osx" }
 		configuration { "osx" }
-			links {
-				"Cocoa.framework",
+			linkoptions {
+				"-framework Cocoa",
+				"-framework Metal",
+				"-framework QuartzCore",
+				"-framework OpenGL",
 			}
 			}
 
 
 		configuration { "not nacl" }
 		configuration { "not nacl" }