Browse Source

Fix ToolsetType.GetDefaultFor

Brian Fiete 2 years ago
parent
commit
c8ca955e5b
1 changed files with 5 additions and 2 deletions
  1. 5 2
      IDE/src/Workspace.bf

+ 5 - 2
IDE/src/Workspace.bf

@@ -185,10 +185,13 @@ namespace IDE
 
 			public static ToolsetType GetDefaultFor(PlatformType platformType, bool isRelease)
 			{
-				if (isRelease)
-					return .LLVM;
 				if (platformType == .Windows)
+				{
+					if (isRelease)
+						return .LLVM;
 					return .Microsoft;
+				}
+				
 				return .GNU;
 			}
 		}