Skip to content

Commit 7cda260

Browse files
authored
Update CMake to 3.7.2 (WebAssembly#298)
This version contains a fix to the Ninja generator that properly recognizes gnu-style compilers on Windows and creates response files with the correct file path escaping.
1 parent e5ed748 commit 7cda260

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ def NodePlatformName():
159159
def CMakePlatformName():
160160
return {'linux2': 'Linux',
161161
'darwin': 'Darwin',
162-
'win32': 'win32'}[sys.platform]
162+
'win32': 'win64'}[sys.platform]
163163

164164

165165
def CMakeArch():
166-
return 'x86' if IsWindows() else 'x86_64'
166+
return 'x64' if IsWindows() else 'x86_64'
167167

168168

169169
def CMakeBinDir():
@@ -177,7 +177,7 @@ def CMakeBinDir():
177177
NODE_VERSION = '7.0.0'
178178
NODE_BASE_NAME = 'node-v' + NODE_VERSION + '-'
179179

180-
PREBUILT_CMAKE_VERSION = '3.4.3'
180+
PREBUILT_CMAKE_VERSION = '3.7.2'
181181
PREBUILT_CMAKE_BASE_NAME = 'cmake-%s-%s-%s' % (PREBUILT_CMAKE_VERSION,
182182
CMakePlatformName(),
183183
CMakeArch())

0 commit comments

Comments
 (0)