Updates for arm64 usage

This commit is contained in:
Wojtek Figat
2023-04-12 14:00:03 +02:00
parent 99566a0f0f
commit 338e3bbd42
2 changed files with 3 additions and 1 deletions

View File

@@ -579,7 +579,7 @@ void GameCooker::GetCurrentPlatform(PlatformType& platform, BuildPlatform& build
buildPlatform = BuildPlatform::PS5;
break;
case PlatformType::Mac:
buildPlatform = PLATFORM_ARCH_ARM ? BuildPlatform::MacOSARM64 : BuildPlatform::MacOSx64;
buildPlatform = PLATFORM_ARCH_ARM || PLATFORM_ARCH_ARM64 ? BuildPlatform::MacOSARM64 : BuildPlatform::MacOSx64;
break;
case PlatformType::iOS:
buildPlatform = BuildPlatform::iOSARM64;

View File

@@ -395,6 +395,8 @@ void ScriptsBuilder::GetBinariesConfiguration(const Char*& target, const Char*&
architecture = TEXT("x64");
#elif PLATFORM_ARCH_X86
architecture = TEXT("x86");
#elif PLATFORM_ARCH_ARM
architecture = TEXT("arm");
#elif PLATFORM_ARCH_ARM64
architecture = TEXT("arm64");
#else