mirror of
https://github.com/kevinporetti/UnrealImGui.git
synced 2025-01-18 08:20:32 +00:00
Updated to Unreal Engine 4.16 (backward compatible):
- Replaced obsolete module rules constructors with new versions forwarding read-only target rules to base constructors.
This commit is contained in:
parent
3f33545f8b
commit
865ade48c0
@ -5,7 +5,11 @@ using UnrealBuildTool;
|
|||||||
|
|
||||||
public class ImGui : ModuleRules
|
public class ImGui : ModuleRules
|
||||||
{
|
{
|
||||||
|
#if WITH_FORWARDED_MODULE_RULES_CTOR
|
||||||
|
public ImGui(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
#else
|
||||||
public ImGui(TargetInfo Target)
|
public ImGui(TargetInfo Target)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
|
|
||||||
PublicIncludePaths.AddRange(
|
PublicIncludePaths.AddRange(
|
||||||
|
@ -2,7 +2,11 @@ using UnrealBuildTool;
|
|||||||
|
|
||||||
public class ImGuiLibrary : ModuleRules
|
public class ImGuiLibrary : ModuleRules
|
||||||
{
|
{
|
||||||
|
#if WITH_FORWARDED_MODULE_RULES_CTOR
|
||||||
|
public ImGuiLibrary(ReadOnlyTargetRules Target) : base(Target)
|
||||||
|
#else
|
||||||
public ImGuiLibrary(TargetInfo Target)
|
public ImGuiLibrary(TargetInfo Target)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
Type = ModuleType.External;
|
Type = ModuleType.External;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user