diff --git a/Demos3/SimpleOpenGL3/premake4.lua b/Demos3/SimpleOpenGL3/premake4.lua index a413f1c93..bb5b27f56 100644 --- a/Demos3/SimpleOpenGL3/premake4.lua +++ b/Demos3/SimpleOpenGL3/premake4.lua @@ -27,3 +27,6 @@ } +if os.is("MacOSX") then + links{"Cocoa.framework"} +end diff --git a/btgui/OpenGLWindow/premake4.lua b/btgui/OpenGLWindow/premake4.lua index 59c17fdf0..be45bbe0d 100644 --- a/btgui/OpenGLWindow/premake4.lua +++ b/btgui/OpenGLWindow/premake4.lua @@ -20,7 +20,6 @@ files { "**.cpp", "**.h", - "**.c" } if not os.is("Windows") then @@ -38,9 +37,7 @@ } end if os.is("MacOSX") then - links{"Cocoa.framework"} - else - excludes + files { "../OpenGLWindow/MacOpenGLWindow.h", "../OpenGLWindow/MacOpenGLWindow.mm",