From 865ade48c0255d6b3b30731de0a4060f62035a34 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 5 Nov 2017 16:10:03 +0000 Subject: [PATCH] Updated to Unreal Engine 4.16 (backward compatible): - Replaced obsolete module rules constructors with new versions forwarding read-only target rules to base constructors. --- Source/ImGui/ImGui.Build.cs | 4 ++++ Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Source/ImGui/ImGui.Build.cs b/Source/ImGui/ImGui.Build.cs index 5aeafc2..fe56412 100644 --- a/Source/ImGui/ImGui.Build.cs +++ b/Source/ImGui/ImGui.Build.cs @@ -5,7 +5,11 @@ using UnrealBuildTool; public class ImGui : ModuleRules { +#if WITH_FORWARDED_MODULE_RULES_CTOR + public ImGui(ReadOnlyTargetRules Target) : base(Target) +#else public ImGui(TargetInfo Target) +#endif { PublicIncludePaths.AddRange( diff --git a/Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs b/Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs index d767bdf..a3101f4 100644 --- a/Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs +++ b/Source/ThirdParty/ImGuiLibrary/ImGuiLibrary.Build.cs @@ -2,7 +2,11 @@ using UnrealBuildTool; 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; }