Skip to content

Commit

Permalink
Updated to Unreal Engine 4.16 (backward compatible):
Browse files Browse the repository at this point in the history
- Replaced obsolete module rules constructors with new versions forwarding read-only target rules to base constructors.
  • Loading branch information
segross committed Nov 5, 2017
1 parent 3f33545 commit 865ade4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/ImGui/ImGui.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

public class ImGui : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public ImGui(ReadOnlyTargetRules Target) : base(Target)
#else
public ImGui(TargetInfo Target)
#endif
{

PublicIncludePaths.AddRange(
Expand Down
4 changes: 4 additions & 0 deletions Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

public class ImGuiLibrary : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public ImGuiLibrary(ReadOnlyTargetRules Target) : base(Target)
#else
public ImGuiLibrary(TargetInfo Target)
#endif
{
Type = ModuleType.External;
}
Expand Down

0 comments on commit 865ade4

Please sign in to comment.