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

Commit

Permalink
Update environment for MSVC + Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jan 27, 2016
1 parent 9174e8e commit 172d868
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def PositiveInt(string):
detail.verify_msys_path.verify(msys_path)
os.environ['PATH'] = "{};{}".format(msys_path, os.getenv('PATH'))

if toolchain_entry.is_nmake:
vs_ninja = toolchain_entry.is_ninja and toolchain_entry.vs_version
if toolchain_entry.is_nmake or vs_ninja:
os.environ = detail.get_nmake_environment.get(
toolchain_entry.arch, toolchain_entry.vs_version
)
Expand Down

0 comments on commit 172d868

Please sign in to comment.