Skip astc on macOS x64 due to precompiled lib with too new clang ver
This commit is contained in:
16
Source/ThirdParty/astc/astc.Build.cs
vendored
16
Source/ThirdParty/astc/astc.Build.cs
vendored
@@ -8,6 +8,22 @@ using Flax.Build.NativeCpp;
|
||||
/// </summary>
|
||||
public class astc : DepsModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns true if can use astc lib for a given build setup.
|
||||
/// </summary>
|
||||
public static bool IsSupported(BuildOptions options)
|
||||
{
|
||||
switch (options.Platform.Target)
|
||||
{
|
||||
case TargetPlatform.Windows:
|
||||
return true;
|
||||
case TargetPlatform.Mac:
|
||||
return options.Architecture == TargetArchitecture.ARM64;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void Init()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user