@@ -70,24 +70,15 @@ private bool LoadV8(TargetInfo Target)
70
70
{
71
71
if ( ( Target . Platform == UnrealTargetPlatform . Win64 ) || ( Target . Platform == UnrealTargetPlatform . Win32 ) )
72
72
{
73
- string LibrariesPath = Path . Combine ( ThirdPartyPath , "v8" , "lib" , "Windows" ) ;
74
-
75
- if ( WindowsPlatform . Compiler == WindowsCompiler . VisualStudio2015 )
76
- {
77
- LibrariesPath = Path . Combine ( LibrariesPath , "MSVC2015" ) ;
78
- }
79
- else
80
- {
81
- LibrariesPath = Path . Combine ( LibrariesPath , "MSVC2013" ) ;
82
- }
73
+ string LibrariesPath = Path . Combine ( ThirdPartyPath , "v8" , "lib" ) ;
83
74
84
75
if ( Target . Platform == UnrealTargetPlatform . Win64 )
85
76
{
86
- LibrariesPath = Path . Combine ( LibrariesPath , "x64 " ) ;
77
+ LibrariesPath = Path . Combine ( LibrariesPath , "Win64 " ) ;
87
78
}
88
79
else
89
- {
90
- LibrariesPath = Path . Combine ( LibrariesPath , "x86 " ) ;
80
+ {
81
+ LibrariesPath = Path . Combine ( LibrariesPath , "Win32 " ) ;
91
82
}
92
83
93
84
if ( Target . Configuration == UnrealTargetConfiguration . Debug )
@@ -97,7 +88,7 @@ private bool LoadV8(TargetInfo Target)
97
88
else
98
89
{
99
90
LibrariesPath = Path . Combine ( LibrariesPath , "Release" ) ;
100
- }
91
+ }
101
92
102
93
PublicAdditionalLibraries . Add ( Path . Combine ( LibrariesPath , "v8_base_0.lib" ) ) ;
103
94
PublicAdditionalLibraries . Add ( Path . Combine ( LibrariesPath , "v8_base_1.lib" ) ) ;
@@ -108,7 +99,7 @@ private bool LoadV8(TargetInfo Target)
108
99
PublicAdditionalLibraries . Add ( Path . Combine ( LibrariesPath , "v8_nosnapshot.lib" ) ) ;
109
100
110
101
Definitions . Add ( string . Format ( "WITH_V8=1" ) ) ;
111
- Definitions . Add ( string . Format ( "WITH_V8_FAST_CALL=1 " ) ) ;
102
+ Definitions . Add ( string . Format ( "WITH_V8_FAST_CALL=0 " ) ) ;
112
103
Definitions . Add ( string . Format ( "WITH_JSWEBSOCKET=1" ) ) ;
113
104
114
105
return true ;
0 commit comments