From aabbeac3d9e2ac0f293ab43fec71e56091c823e8 Mon Sep 17 00:00:00 2001 From: hachem Date: Tue, 18 Aug 2026 15:00:34 +0200 Subject: fix: macOS compatibility --- premake5.lua | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'premake5.lua') 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" -- cgit v1.3