Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gframe/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ project "YGOPro"
entrypoint "mainCRTStartup"
defines { "_IRR_WCHAR_FILESYSTEM" }
files "ygopro.rc"
links { "opengl32", "ws2_32", "winmm", "gdi32", "kernel32", "user32", "imm32" }
links { "ws2_32" }
if USE_AUDIO and AUDIO_LIB == "irrklang" then
links { "irrKlang" }
if IRRKLANG_PRO then
Expand All @@ -83,11 +83,10 @@ project "YGOPro"
filter {}
end
end
filter "not system:windows"
links { "dl", "pthread" }

filter "system:macosx"
openmp "Off"
links { "z" }
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }
defines { "GL_SILENCE_DEPRECATION" }
if MAC_ARM then
linkoptions { "-arch arm64" }
Expand All @@ -98,6 +97,7 @@ project "YGOPro"
if USE_AUDIO and AUDIO_LIB == "irrklang" then
links { "irrklang" }
end

filter "system:linux"
links { "GL", "X11", "Xxf86vm" }
linkoptions { "-fopenmp" }
Expand Down
3 changes: 0 additions & 3 deletions premake/irrlicht/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,6 @@ project "irrlicht"
defines { "NO_IRR_COMPILE_WITH_DIRECT3D_9_" }
end

filter { "system:linux" }
links { "X11", "Xxf86vm" }

filter { "system:macosx" }
cppdialect "gnu++14"
defines { "GL_SILENCE_DEPRECATION" }
Expand Down
3 changes: 0 additions & 3 deletions premake/miniaudio/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,3 @@ project "miniaudio"
includedirs { OPUS_INCLUDE_DIR, OPUSFILE_INCLUDE_DIR, VORBIS_INCLUDE_DIR, OGG_INCLUDE_DIR }
end
end

filter "system:linux"
links { "dl", "pthread", "m" }
1 change: 0 additions & 1 deletion premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ workspace "YGOPro"
if MAC_ARM and MAC_INTEL then
architecture "universal"
end
links { "OpenGL.framework", "Cocoa.framework", "IOKit.framework" }

filter "system:linux"
buildoptions { "-U_FORTIFY_SOURCE" }
Expand Down