Skip to content

Commit fb583ec

Browse files
committed
Removed all references to cmake.
1 parent ec4bb73 commit fb583ec

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

install.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function systemPath(parts) {
3939
}
4040

4141
// Will be used near the end to configure `node-gyp`.
42-
var python, cmake;
42+
var python;
4343

4444
// Common reusable paths that can be overwritten by environment variables.
4545
var paths = envOverride({
@@ -57,10 +57,7 @@ var dependencies = Q.allSettled([
5757
// This will prioritize `python2` over `python`, because we always want to
5858
// work with Python 2.* if it's available.
5959
Q.nfcall(which, 'python2'),
60-
Q.nfcall(which, 'python'),
61-
62-
// Check for any version of CMake.
63-
Q.nfcall(which, 'cmake'),
60+
Q.nfcall(which, 'python')
6461
])
6562

6663
// Determine if all the dependency requirements are met.
@@ -69,7 +66,6 @@ var dependencies = Q.allSettled([
6966

7067
// Assign to reusable variables.
7168
python = results[0].value || results[1].value;
72-
cmake = results[2].value;
7369

7470
// Now lets check the Python version to ensure it's < 3.
7571
return Q.nfcall(exec, python + ' --version').then(function(version) {

0 commit comments

Comments
 (0)