Skip astc on macOS x64 due to precompiled lib with too new clang ver

This commit is contained in:
Wojtek Figat
2024-01-11 17:58:02 +01:00
parent 0075184a99
commit 697db443ac
2 changed files with 17 additions and 1 deletions

View File

@@ -58,7 +58,7 @@ public class TextureTool : EngineModule
options.PrivateDependencies.Add("bc7enc16");
}
}
if (options.Target.IsEditor && options.Platform.Target != TargetPlatform.Linux) // TODO: add ASTC for Editor on Linux
if (options.Target.IsEditor && astc.IsSupported(options))
{
// ASTC for mobile (iOS and Android)
options.SourceFiles.Add(Path.Combine(FolderPath, "TextureTool.astc.cpp"));