Skip to content

Commit

Permalink
MacOS: Set dylib as both additional library and runtime dependency + …
Browse files Browse the repository at this point in the history
…Remove .lib + Organize folders #9
  • Loading branch information
lucoiso committed Jan 9, 2023
1 parent 145865f commit 7a7c0c4
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/ThirdParty/AzureWrapper/AzureWrapper.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ public AzureWrapper(ReadOnlyTargetRules Target) : base(Target)
else if (Target.Platform == UnrealTargetPlatform.Mac)
{
string libPath = isArm() ? "Arm64" : "x64";
string fullLibPath = Path.Combine(ModuleDirectory, "libs", "Mac", libPath, "libMicrosoft.CognitiveServices.Speech.core.dylib");

PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "libs", "Mac", libPath, "Microsoft.CognitiveServices.Speech.core.lib"));

RuntimeDependencies.Add(Path.Combine(ModuleDirectory, "libs", "Mac", libPath, "Runtime", "libMicrosoft.CognitiveServices.Speech.core.dylib"));
PublicAdditionalLibraries.Add(fullLibPath);
RuntimeDependencies.Add(fullLibPath);
}
else if (Target.Platform.ToString().ToLower().Contains("linux"))
{
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 7a7c0c4

Please sign in to comment.