Skip to content
This repository has been archived by the owner on Jun 4, 2021. It is now read-only.

Commit

Permalink
v0.4.1: remove workaround for cmake-js
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed May 31, 2019
1 parent 5c73ebf commit 04561eb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ if (update.status !== 0) {
console.log('BUILD [2/3] build node binding ...');

const cmakejsArgs = [(REBUILD ? 'rebuild' : 'compile')];
if (process.platform === 'win32') {
// force generator in windows because of a bug in cmake-js: https://github.com/cmake-js/cmake-js/issues/160
cmakejsArgs.push('-G"Visual Studio 15 2017 Win64"');
}
if (DEBUG) cmakejsArgs.push('-D');

const cmakejs = spawnSync(CMAKE_JS_FULL_PATH, cmakejsArgs, {shell: true, stdio: 'inherit'});
Expand Down

0 comments on commit 04561eb

Please sign in to comment.