diff --git a/MyoPlugin.uplugin b/MyoPlugin.uplugin index b300bb1..5274838 100644 --- a/MyoPlugin.uplugin +++ b/MyoPlugin.uplugin @@ -2,7 +2,7 @@ "FileVersion" : 3, "FriendlyName" : "Myo Plugin", "Version" : 1, - "VersionName" : "1.0.1", + "VersionName" : "1.1.0", "CreatedBy" : "Getnamo", "CreatedByURL" : "https://github.com/getnamo/myo-ue4", "Description" : "Unofficial Plugin for Thalmic Myo.", diff --git a/Source/MyoPlugin/MyoPlugin.Build.cs b/Source/MyoPlugin/MyoPlugin.Build.cs index 0207bf6..c713d08 100644 --- a/Source/MyoPlugin/MyoPlugin.Build.cs +++ b/Source/MyoPlugin/MyoPlugin.Build.cs @@ -38,6 +38,8 @@ private string BinariesPath public MyoPlugin(ReadOnlyTargetRules Target) : base(Target) { + PrivatePCHHeaderFile = "Private/MyoPluginPrivatePCH.h"; + PublicIncludePaths.AddRange( new string[] { Path.Combine(ModuleDirectory, "Public"), @@ -129,13 +131,13 @@ public bool LoadMyoLib(ReadOnlyTargetRules Target) CopyToProjectBinaries(PluginDLLPath, Target); //PublicDelayLoadDLLs.Add(dllFile); - RuntimeDependencies.Add(new RuntimeDependency(ProjectDLLPath)); + RuntimeDependencies.Add(ProjectDLLPath); //Include Path PublicIncludePaths.Add(Path.Combine(ThirdPartyPath, "Myo", "Include")); } - Definitions.Add(string.Format("WITH_MYO_BINDING={0}", isLibrarySupported ? 1 : 0)); + PublicDefinitions.Add(string.Format("WITH_MYO_BINDING={0}", isLibrarySupported ? 1 : 0)); return isLibrarySupported; }