aboutsummaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua16
1 files changed, 11 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua
index 6225227..742c552 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -303,7 +303,8 @@ project "Donut"
defines
{
- "_CRT_SECURE_NO_WARNINGS"
+ "_CRT_SECURE_NO_WARNINGS",
+ "GLFW_INCLUDE_NONE"
}
files
@@ -351,14 +352,19 @@ project "Donut"
filter "system:windows"
systemversion "latest"
- defines
+
+ links
{
- "GLFW_INCLUDE_NONE"
+ "opengl32.lib",
}
-
+
+ filter "system:macosx"
links
{
- "opengl32.lib",
+ "Cocoa.framework",
+ "IOKit.framework",
+ "CoreFoundation.framework",
+ "QuartzCore.framework"
}
filter "configurations:Debug"