This commit is contained in:
monsieurgustav
2017-06-15 22:22:28 +02:00
parent 71686de2b7
commit 504a98122b
3 changed files with 6 additions and 4 deletions
+3 -3
View File
@@ -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");