fix linux aarch64 build issues and for older unreal engine versions
This commit is contained in:
@@ -159,7 +159,11 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
#if UE_5_1_OR_LATER
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxArm64)
|
||||
#else
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxAArch64)
|
||||
#endif
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
@@ -309,7 +313,11 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
#if UE_5_1_OR_LATER
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxArm64)
|
||||
#else
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxAArch64)
|
||||
#endif
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
@@ -165,7 +165,11 @@ public class SenseGloveCoreImpl : ModuleRules
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
#if UE_5_1_OR_LATER
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxArm64)
|
||||
#else
|
||||
else if (Target.Platform == UnrealTargetPlatform.LinuxAArch64)
|
||||
#endif
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
Reference in New Issue
Block a user