Fixing an issue if running an x64 machine already
This commit is contained in:
@@ -215,7 +215,7 @@ namespace Flax.Build
|
||||
|
||||
// So there is not a real great way to do this but if the first thing in this list is x64
|
||||
// then lets assume we are building for it and thus should using that rid and that dotnet path
|
||||
if (Configuration.BuildArchitectures != null && Configuration.BuildArchitectures[0] == TargetArchitecture.x64)
|
||||
if (architecture == TargetArchitecture.ARM64 && (Configuration.BuildArchitectures != null && Configuration.BuildArchitectures[0] == TargetArchitecture.x64))
|
||||
{
|
||||
rid = $"osx-64";
|
||||
dotnetPath = Path.Combine(dotnetPath, "x64");
|
||||
|
||||
Reference in New Issue
Block a user