Skip to content

Commit

Permalink
findBestGenerator needs to know also about MSYS, otherwise this gener…
Browse files Browse the repository at this point in the history
…ator can never be set properly (microsoft#903)
  • Loading branch information
andreeis authored and Zingam committed Nov 21, 2019
1 parent de7e27e commit e8f3e05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/drivers/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,9 @@ export abstract class CMakeDriver implements vscode.Disposable {
if (gen_name == 'Unix Makefiles') {
return this.testHaveCommand('make');
}
if (gen_name == 'MSYS Makefiles') {
return platform === 'win32' && this.testHaveCommand('make');
}
return false;
})();
if (!generator_present) {
Expand Down

0 comments on commit e8f3e05

Please sign in to comment.