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; }