From f0fa6e74947c721b57752ecac7f81ab770c312f1 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Sun, 4 Aug 2013 20:18:33 -0700 Subject: [PATCH] OSX: Added missing library. --- premake/geometryc.lua | 5 +++++ premake/shaderc.lua | 5 +++++ premake/texturec.lua | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/premake/geometryc.lua b/premake/geometryc.lua index 82aef8ff..8069d838 100644 --- a/premake/geometryc.lua +++ b/premake/geometryc.lua @@ -21,4 +21,9 @@ project "geometryc" BGFX_DIR .. "tools/geometryc/**.h", } + configuration { "osx" } + links { + "Cocoa.framework", + } + strip() diff --git a/premake/shaderc.lua b/premake/shaderc.lua index cd005d5c..5ea4e33b 100644 --- a/premake/shaderc.lua +++ b/premake/shaderc.lua @@ -32,6 +32,11 @@ project "shaderc" "-fno-strict-aliasing" -- glsl-optimizer has bugs if strict aliasing is used. } + configuration { "osx" } + links { + "Cocoa.framework", + } + configuration { "windows", "vs*" } includedirs { GLSL_OPTIMIZER .. "include/c99", diff --git a/premake/texturec.lua b/premake/texturec.lua index f724fe72..7bb4eea5 100644 --- a/premake/texturec.lua +++ b/premake/texturec.lua @@ -22,3 +22,8 @@ project "texturec" links { -- "bgfx", } + + configuration { "osx" } + links { + "Cocoa.framework", + }