diff options
author | 2020-10-25 15:29:13 -0400 | |
---|---|---|
committer | 2020-10-26 12:19:12 +1100 | |
commit | dd8bea7cfaf8c51c856d3ea7793d27bf6b913373 (patch) | |
tree | 3e079afc5ee609f274a40ce77b83eea8e9f053f7 /scripts/src | |
parent | e5e4926e44556fce9e2d8bcc1e5d8fbc7529dfbf (diff) |
3rdparty.lua: Another build fix for older OS X versions
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/3rdparty.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 27383c3a8ed..04155ef55a8 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -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", |