mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-17 00:25:12 +00:00
4.16 fix
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
||||
"VersionName" : "1.0",
|
||||
"CreatedBy" : "Guillaume Buisson",
|
||||
"CreatedByURL" : "http://guillaume.io",
|
||||
"EngineVersion" : "4.4.0",
|
||||
"EngineVersion" : "4.16.0",
|
||||
"Description" : "",
|
||||
"Category" : "OSC",
|
||||
"EnabledByDefault" : true,
|
||||
|
||||
@@ -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