hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/premake5.lua
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-18 15:00:34 +0200
committerhachem <im@hachem.wtf>2026-08-18 15:00:34 +0200
commitaabbeac3d9e2ac0f293ab43fec71e56091c823e8 (patch)
tree4d986035f451e8511024076b2c94362dbf549712 /premake5.lua
parentecb6705c7fc4fb085184712567d0e936ea5d0d1f (diff)
fix: macOS compatibility
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 bf39008..98e5757 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"