mirror of
https://github.com/storytold/UE4-OSC.git
synced 2026-10-09 00:09:43 +00:00
Fix conflict with builtin OSC plugin
This commit is contained in:
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
@@ -1,3 +1,6 @@
|
|||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
namespace UnrealBuildTool.Rules
|
namespace UnrealBuildTool.Rules
|
||||||
{
|
{
|
||||||
public class OSC : ModuleRules
|
public class OSC : ModuleRules
|
||||||
@@ -40,7 +43,13 @@ namespace UnrealBuildTool.Rules
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
if (Target.Type == TargetRules.TargetType.Editor)
|
PublicIncludePaths.AddRange(
|
||||||
|
new string[] {
|
||||||
|
Path.Combine(ModuleDirectory, "Public"),
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
|
if (Target.Type == TargetRules.TargetType.Editor)
|
||||||
{
|
{
|
||||||
PublicDefinitions.Add("OSC_EDITOR_BUILD=1");
|
PublicDefinitions.Add("OSC_EDITOR_BUILD=1");
|
||||||
|
|
||||||
Reference in New Issue
Block a user