Skip to content

Commit

Permalink
🤷
Browse files Browse the repository at this point in the history
  • Loading branch information
SpartanJ committed Oct 14, 2024
1 parent 52ea315 commit 003e681
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions premake4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ solution "SOIL2"

if os.is_real("macosx") then
libdirs { "/opt/homebrew/lib" }
includedirs { "/opt/homebrew/include" }
end

project "soil2-static-lib"
Expand Down Expand Up @@ -172,8 +173,8 @@ solution "SOIL2"

configuration "macosx"
links { "OpenGL.framework", "CoreFoundation.framework" }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
defines { "GL_SILENCE_DEPRECATION" }

configuration "haiku"
Expand Down Expand Up @@ -218,8 +219,8 @@ solution "SOIL2"

configuration "macosx"
links { "OpenGL.framework", "CoreFoundation.framework", get_backend_link_name("SDL2") }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
includedirs { "/Library/Frameworks/SDL2.framework/Headers" }
defines { "GL_SILENCE_DEPRECATION" }
if not _OPTIONS["use-frameworks"] then
Expand Down Expand Up @@ -268,8 +269,8 @@ solution "SOIL2"

configuration "macosx"
links { "OpenGL.framework", "CoreFoundation.framework", get_backend_link_name("SDL2") }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
includedirs { "/Library/Frameworks/SDL2.framework/Headers" }
defines { "GL_SILENCE_DEPRECATION" }
if not _OPTIONS["use-frameworks"] then
Expand Down
13 changes: 7 additions & 6 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ workspace "SOIL2"

filter { "system:macosx", "not action:xcode*", "not options:use-frameworks" }
libdirs { "/opt/homebrew/lib" }
incdirs { "/opt/homebrew/include" }

filter "platforms:x86"
architecture "x86"
Expand Down Expand Up @@ -134,8 +135,8 @@ workspace "SOIL2"

filter "system:macosx"
links { "OpenGL.framework", "CoreFoundation.framework" }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
defines { "GL_SILENCE_DEPRECATION" }

filter "system:haiku"
Expand Down Expand Up @@ -175,8 +176,8 @@ workspace "SOIL2"

filter "system:macosx"
links { "OpenGL.framework", "CoreFoundation.framework", get_backend_link_name("SDL2") }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
includedirs { "/Library/Frameworks/SDL2.framework/Headers" }
defines { "GL_SILENCE_DEPRECATION" }
if not _OPTIONS["use-frameworks"] then
Expand Down Expand Up @@ -232,8 +233,8 @@ workspace "SOIL2"

filter "system:macosx"
links { "OpenGL.framework", "CoreFoundation.framework", get_backend_link_name("SDL2") }
buildoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
linkoptions {"-F /Library/Frameworks", "-F ~/Library/Frameworks"}
buildoptions {"-F /Library/Frameworks"}
linkoptions {"-F /Library/Frameworks"}
includedirs { "/Library/Frameworks/SDL2.framework/Headers" }
defines { "GL_SILENCE_DEPRECATION" }
if not _OPTIONS["use-frameworks"] then
Expand Down

0 comments on commit 003e681

Please sign in to comment.