Fixed UBT warning in UE 4.21. From 4.21 onward modules must specify an explicit precompiled header in build script file.

This commit is contained in:
Sebastian 2019-02-05 21:01:05 +00:00
parent ffe532f6b3
commit eba312e20b
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Status
------ ------
ImGui version: 1.65 ImGui version: 1.65
Supported engine version: 4.20.2* Supported engine version: 4.21*
\* *Plugin has been tested and if necessary updated to compile and work with this engine version. As long as possible I will try to maintain backward compatibility of existing features and possibly but not necessarily when adding new features. Right now it should be at least backward compatible with the engine version 4.15.* \* *Plugin has been tested and if necessary updated to compile and work with this engine version. As long as possible I will try to maintain backward compatibility of existing features and possibly but not necessarily when adding new features. Right now it should be at least backward compatible with the engine version 4.15.*

View File

@ -57,6 +57,9 @@ public class ImGui : ModuleRules
// Enable runtime loader, if you want this module to be automatically loaded in runtime builds (monolithic). // Enable runtime loader, if you want this module to be automatically loaded in runtime builds (monolithic).
bool bEnableRuntimeLoader = true; bool bEnableRuntimeLoader = true;
#if UE_4_21_OR_LATER
PrivatePCHHeaderFile = "Private/ImGuiPrivatePCH.h";
#endif
PublicIncludePaths.AddRange( PublicIncludePaths.AddRange(
new string[] { new string[] {