Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
4.22 compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Apr 2, 2019
1 parent 28ea35a commit a0ee3fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MyoPlugin.uplugin
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down
6 changes: 4 additions & 2 deletions Source/MyoPlugin/MyoPlugin.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit a0ee3fb

Please sign in to comment.