Add NvCloth for iOS
This commit is contained in:
@@ -86,6 +86,9 @@ namespace Flax.Deps.Dependencies
|
||||
Build(options, platform, TargetArchitecture.x64);
|
||||
Build(options, platform, TargetArchitecture.ARM64);
|
||||
break;
|
||||
case TargetPlatform.iOS:
|
||||
Build(options, platform, TargetArchitecture.ARM64);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,6 +152,11 @@ namespace Flax.Deps.Dependencies
|
||||
cmakeName = "mac";
|
||||
binariesPrefix = "lib";
|
||||
break;
|
||||
case TargetPlatform.iOS:
|
||||
cmakeArgs += " -DTARGET_BUILD_PLATFORM=ios";
|
||||
cmakeName = "ios";
|
||||
binariesPrefix = "lib";
|
||||
break;
|
||||
default: throw new InvalidPlatformException(platform);
|
||||
}
|
||||
var cmakeFolder = Path.Combine(nvCloth, "compiler", "cmake", cmakeName);
|
||||
|
||||
Reference in New Issue
Block a user