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"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if UE_4_17_OR_LATER
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
case WindowsCompiler.VisualStudio2017:
|
case WindowsCompiler.VisualStudio2017:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
break;
|
break;
|
||||||
@@ -143,6 +143,7 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
Debug.Assert(false, "Unsupported compiler!");
|
Debug.Assert(false, "Unsupported compiler!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -228,7 +229,7 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if UE_4_17_OR_LATER
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
case WindowsCompiler.VisualStudio2017:
|
case WindowsCompiler.VisualStudio2017:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
break;
|
break;
|
||||||
@@ -237,6 +238,7 @@ public class SenseGloveConnectImpl : ModuleRules
|
|||||||
Debug.Assert(false, "Unsupported compiler!");
|
Debug.Assert(false, "Unsupported compiler!");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ public class SenseGloveCoreImpl : ModuleRules
|
|||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#if UE_4_17_OR_LATER
|
#if ! UE_5_0_OR_LATER && UE_4_17_OR_LATER
|
||||||
case WindowsCompiler.VisualStudio2017:
|
case WindowsCompiler.VisualStudio2017:
|
||||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc141"));
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user