diff options
| author | hachem <im@hachem.wtf> | 2026-08-18 15:00:34 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-18 15:00:34 +0200 |
| commit | dfe9da43dab6c933bc1024f992383f08e01386de (patch) | |
| tree | 8f52e80e0b2a65eaacdbf5fa056721e7fa4e9fa5 /premake5.lua | |
| parent | 86df8b19063f73b7803daaa1e5b21da33ac976ed (diff) | |
[fix]: macos compatibility
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 16 |
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" |
