Index: build/premake/premake5.lua =================================================================== --- build/premake/premake5.lua +++ build/premake/premake5.lua @@ -536,6 +536,8 @@ if os.istarget("windows") then rtti "off" + elseif os.istarget("macosx") then + xcodebuildsettings { MACOSX_DEPLOYMENT_TARGET = mmacosx-version-min } end end @@ -560,6 +562,8 @@ if os.istarget("windows") then rtti "off" links { "delayimp" } + elseif os.istarget("macosx") then + xcodebuildsettings { MACOSX_DEPLOYMENT_TARGET = mmacosx-version-min } end end @@ -1035,6 +1039,7 @@ links { "pthread" } links { "ApplicationServices.framework", "Cocoa.framework", "CoreFoundation.framework" } + xcodebuildsettings { MACOSX_DEPLOYMENT_TARGET = mmacosx-version-min } end end @@ -1419,6 +1424,9 @@ filter { } includedirs { source_root .. "pch/test/" } + + elseif os.istarget("macosx") then + xcodebuildsettings { MACOSX_DEPLOYMENT_TARGET = mmacosx-version-min } end end