summarylogtreecommitdiffstats
path: root/compile_in_editor.patch
blob: d9a2bcde3264c9b99b2b1ab152f04ee81d877847 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- /home/zerophase/Documents/PackagesMaintained/unreal-engine/opt/unreal-engine/Engine/Source/Developer/HotReload/Private/HotReload.cpp	2021-03-24 03:10:56.000000000 -0500
+++ Engine/Source/Developer/HotReload/Private/HotReload.cpp	2021-03-25 03:37:32.071430288 -0500
@@ -1581,6 +1581,13 @@
 		FString FullProjectPath = FPaths::ConvertRelativePathToFull(FPaths::GetProjectFilePath());
 		AdditionalArguments += FString::Printf(TEXT("\"%s\" "), *FullProjectPath);
 	}
+	
+	if(!FPaths::FileExists(FPaths::RootDir() +
+	                       FString("Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64")))
+	{
+		AdditionalArguments += FString(TEXT(" -ForceUseSystemCompiler"));
+	}
+	
 	return AdditionalArguments;
 }