1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-13 05:44:11 +02:00

Fix ToolsetType.GetDefaultFor

This commit is contained in:
Brian Fiete 2023-07-27 09:17:44 -07:00
parent 98e498bdf5
commit c8ca955e5b

View file

@ -184,11 +184,14 @@ namespace IDE
case LLVM; case LLVM;
public static ToolsetType GetDefaultFor(PlatformType platformType, bool isRelease) public static ToolsetType GetDefaultFor(PlatformType platformType, bool isRelease)
{
if (platformType == .Windows)
{ {
if (isRelease) if (isRelease)
return .LLVM; return .LLVM;
if (platformType == .Windows)
return .Microsoft; return .Microsoft;
}
return .GNU; return .GNU;
} }
} }