3rdparty.lua: Another build fix for older OS X versions

This commit is contained in:
AJR 2020-10-25 15:29:13 -04:00
parent 0e4e6a5db7
commit 67ac7f437f

View File

@ -1432,6 +1432,14 @@ end
end
end
if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then
if string.find(_OPTIONS["gcc"], "clang") and (version < 80000) then
defines {
"TARGET_OS_OSX=1",
}
end
end
files {
MAME_DIR .. "3rdparty/bgfx/src/bgfx.cpp",
MAME_DIR .. "3rdparty/bgfx/src/debug_renderdoc.cpp",