diff --git a/Source/SenseGloveConnectImpl/SenseGloveConnectImpl.Build.cs b/Source/SenseGloveConnectImpl/SenseGloveConnectImpl.Build.cs index e6f72a5e..2ba8ab57 100644 --- a/Source/SenseGloveConnectImpl/SenseGloveConnectImpl.Build.cs +++ b/Source/SenseGloveConnectImpl/SenseGloveConnectImpl.Build.cs @@ -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); diff --git a/Source/SenseGloveCoreImpl/SenseGloveCoreImpl.Build.cs b/Source/SenseGloveCoreImpl/SenseGloveCoreImpl.Build.cs index 0304e4d2..bf8f5f27 100644 --- a/Source/SenseGloveCoreImpl/SenseGloveCoreImpl.Build.cs +++ b/Source/SenseGloveCoreImpl/SenseGloveCoreImpl.Build.cs @@ -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);