Also skip VS activation if gcc is found.

This commit is contained in:
Jussi Pakkanen 2021-05-23 21:56:12 +03:00
parent 7e7a23293b
commit 799b96f753
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ def setup_vsenv():
# If an existing build tool chain exists in PATH -> do nothing.
if shutil.which('cc'):
return
if shutil.which('gcc'):
return
if shutil.which('clang'):
return
if shutil.which('clang-cl'):