fix ue >= 5.0 ubt errors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user