소스 검색

Fixed OSX build.

bkaradzic 11 년 전
부모
커밋
67847096db
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      premake/bgfx.lua

+ 5 - 0
premake/bgfx.lua

@@ -82,6 +82,11 @@ project "bgfx-shared-lib"
 			BGFX_DIR .. "src/**.mm",
 			BGFX_DIR .. "src/**.mm",
 		}
 		}
 
 
+	configuration { "osx" }
+		links {
+			"Cocoa.framework",
+		}
+
 	configuration { "vs* or linux or mingw or osx or ios*" }
 	configuration { "vs* or linux or mingw or osx or ios*" }
 		includedirs {
 		includedirs {
 			--nacl has GLES2 headers modified...
 			--nacl has GLES2 headers modified...