fix ue >= 5.0 ubt errors

This commit is contained in:
Mamadou Babaei
2022-12-02 12:35:07 +01:00
parent ae46cb6240
commit f9bc33f2fd
2 changed files with 5 additions and 3 deletions
@@ -134,7 +134,7 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
@@ -143,6 +143,7 @@ public class SenseGloveConnectImpl : ModuleRules
Debug.Assert(false, "Unsupported compiler!");
break;
}
LibraryName = string.Format("{0}.lib", LibraryName);
}
else
@@ -228,7 +229,7 @@ public class SenseGloveConnectImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;
@@ -237,6 +238,7 @@ public class SenseGloveConnectImpl : ModuleRules
Debug.Assert(false, "Unsupported compiler!");
break;
}
LibraryName = string.Format("{0}.lib", LibraryName);
}
else
@@ -133,7 +133,7 @@ public class SenseGloveCoreImpl : ModuleRules
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
break;
#endif
#if UE_4_17_OR_LATER
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
case WindowsCompiler.VisualStudio2017:
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
break;