Dont use astc on windows/limux yet
This commit is contained in:
12
Source/ThirdParty/astc/astc.Build.cs
vendored
12
Source/ThirdParty/astc/astc.Build.cs
vendored
@@ -1,13 +1,12 @@
|
||||
// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved.
|
||||
|
||||
using System.IO;
|
||||
using Flax.Build;
|
||||
using Flax.Build.NativeCpp;
|
||||
|
||||
/// <summary>
|
||||
/// https://github.com/ARM-software/astc-encoder
|
||||
/// </summary>
|
||||
public class astc : ThirdPartyModule
|
||||
public class astc : DepsModule
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public override void Init()
|
||||
@@ -27,13 +26,6 @@ public class astc : ThirdPartyModule
|
||||
base.Setup(options);
|
||||
|
||||
options.PublicDefinitions.Add("COMPILE_WITH_ASTC");
|
||||
var depsRoot = options.DepsFolder;
|
||||
switch (options.Platform.Target)
|
||||
{
|
||||
case TargetPlatform.Mac:
|
||||
options.OutputFiles.Add(Path.Combine(depsRoot, "libastcenc.a"));
|
||||
break;
|
||||
default: throw new InvalidPlatformException(options.Platform.Target);
|
||||
}
|
||||
AddLib(options, options.DepsFolder, "astcenc");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user