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