From d3434707384f6d62229a4476b10b6dc22fee7c9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Fri, 12 Apr 2024 23:26:39 -0700 Subject: [PATCH] Updated macosPlatfrom to 10.15. --- scripts/toolchain.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index f6dc6ed..49d91b9 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -132,7 +132,7 @@ function toolchain(_buildDir, _libDir) newoption { trigger = "with-macos", value = "#", - description = "Set macOS target version (default 10.11).", + description = "Set macOS target version (default 10.15).", } newoption { @@ -419,7 +419,7 @@ function toolchain(_buildDir, _libDir) end if "osx" == _OPTIONS["xcode"] then - action.xcode.macOSTargetPlatformVersion = str_or(macosPlatform, "10.11") + action.xcode.macOSTargetPlatformVersion = str_or(macosPlatform, "10.15") premake.xcode.toolset = "macosx" location (path.join(_buildDir, "projects", _ACTION .. "-osx")) @@ -920,7 +920,7 @@ function toolchain(_buildDir, _libDir) buildoptions { "-arch x86_64", "-msse4.2", - "-target x86_64-apple-macos" .. (#macosPlatform > 0 and macosPlatform or "10.11"), + "-target x86_64-apple-macos" .. (#macosPlatform > 0 and macosPlatform or "10.15"), } configuration { "osx-arm64" }