This should localize SDL2 locally.

This commit is contained in:
Martín Lucas Golini
2024-10-01 18:51:04 -03:00
parent 0d880b8ac7
commit 2d3c0e88af
3 changed files with 3 additions and 3 deletions

View File

@@ -562,7 +562,7 @@ function set_apple_config()
if is_xcode() or _OPTIONS["use-frameworks"] then
linkoptions { "-F /Library/Frameworks", "-F ~/Library/Frameworks", "-F src/thirdparty" }
buildoptions { "-F /Library/Frameworks", "-F ~/Library/Frameworks", "-F src/thirdparty" }
local sdl2local = _MAIN_SCRIPT_DIR .. "src/thirdparty/SDL2.framework";
local sdl2local = _MAIN_SCRIPT_DIR .. "/src/thirdparty/SDL2.framework";
local sdl2user = "~/Library/Frameworks/SDL2.framework";
if os.isdir(sdl2local) then
incdirs { sdl2local .. "/Headers" }