mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-09 00:09:43 +00:00
buildfix: TargetRules.IsEditorType() does not exist
This commit is contained in:
@@ -38,7 +38,7 @@ namespace UnrealBuildTool.Rules
|
||||
}
|
||||
);
|
||||
|
||||
if (Target.Type.HasValue && TargetRules.IsEditorType(Target.Type.Value))
|
||||
if (Target.Type.HasValue && Target.Type.Value == TargetRules.TargetType.Editor)
|
||||
{
|
||||
Definitions.Add("OSC_EDITOR_BUILD=1");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user