mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-16 00:18:32 +00:00
4.16 fix
This commit is contained in:
@@ -2,8 +2,8 @@ namespace UnrealBuildTool.Rules
|
||||
{
|
||||
public class OSC : ModuleRules
|
||||
{
|
||||
public OSC(TargetInfo Target)
|
||||
{
|
||||
public OSC(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
@@ -38,7 +38,7 @@ namespace UnrealBuildTool.Rules
|
||||
}
|
||||
);
|
||||
|
||||
if (Target.Type.HasValue && Target.Type.Value == TargetRules.TargetType.Editor)
|
||||
if (Target.Type == TargetRules.TargetType.Editor)
|
||||
{
|
||||
Definitions.Add("OSC_EDITOR_BUILD=1");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user