mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
don't link metal pre El Capitan
This commit is contained in:
parent
03f6c359b0
commit
2ec885b8b2
@ -241,14 +241,20 @@ end
|
||||
|
||||
if BASE_TARGETOS=="unix" then
|
||||
if _OPTIONS["targetos"]=="macosx" then
|
||||
local os_version = str_to_version(backtick("sw_vers -productVersion"))
|
||||
|
||||
links {
|
||||
"Cocoa.framework",
|
||||
}
|
||||
linkoptions {
|
||||
"-framework QuartzCore",
|
||||
"-framework OpenGL",
|
||||
"-weak_framework Metal",
|
||||
}
|
||||
if os_version>=101100 then
|
||||
linkoptions {
|
||||
"-weak_framework Metal",
|
||||
}
|
||||
end
|
||||
if _OPTIONS["MACOSX_USE_LIBSDL"]~="1" then
|
||||
linkoptions {
|
||||
"-F" .. _OPTIONS["SDL_FRAMEWORK_PATH"],
|
||||
|
Loading…
Reference in New Issue
Block a user