From 7cda260b8ea5264900624a4cdc45df2c9e2de010 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Wed, 6 Dec 2017 10:52:13 -0800 Subject: [PATCH] Update CMake to 3.7.2 (#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. --- src/build.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build.py b/src/build.py index ce188d2..57ed5c2 100755 --- a/src/build.py +++ b/src/build.py @@ -159,11 +159,11 @@ def NodePlatformName(): def CMakePlatformName(): return {'linux2': 'Linux', 'darwin': 'Darwin', - 'win32': 'win32'}[sys.platform] + 'win32': 'win64'}[sys.platform] def CMakeArch(): - return 'x86' if IsWindows() else 'x86_64' + return 'x64' if IsWindows() else 'x86_64' def CMakeBinDir(): @@ -177,7 +177,7 @@ def CMakeBinDir(): NODE_VERSION = '7.0.0' NODE_BASE_NAME = 'node-v' + NODE_VERSION + '-' -PREBUILT_CMAKE_VERSION = '3.4.3' +PREBUILT_CMAKE_VERSION = '3.7.2' PREBUILT_CMAKE_BASE_NAME = 'cmake-%s-%s-%s' % (PREBUILT_CMAKE_VERSION, CMakePlatformName(), CMakeArch())