Default OSX SDK to 10.11 instead of 10.9.

This commit is contained in:
Branimir Karadžić
2017-12-19 16:53:26 -08:00
parent 3558573ba3
commit 21e2001f9d

View File

@@ -122,7 +122,7 @@ function toolchain(_buildDir, _libDir)
newoption {
trigger = "with-macos",
value = "#",
description = "Set macOS target version (default 10.9).",
description = "Set macOS target version (default 10.11).",
}
newoption {
@@ -471,7 +471,7 @@ function toolchain(_buildDir, _libDir)
end
if "osx" == _OPTIONS["xcode"] then
action.xcode.macOSTargetPlatformVersion = str_or(macosPlatform, "10.9")
action.xcode.macOSTargetPlatformVersion = str_or(macosPlatform, "10.11")
premake.xcode.toolset = "macosx"
location (path.join(_buildDir, "projects", _ACTION .. "-osx"))