diff options
author | Nazar Mokrynskyi <nazar@mokrynskyi.com> | 2022-01-31 00:12:53 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2022-02-03 09:13:35 -0500 |
commit | 44e7f75cc359f66f3fe696d3851394d7cf31aeb9 (patch) | |
tree | 597d49afbf6cb230ff670c0be9bc24fa7471b047 | |
parent | 9a1a5c2b74627d8d0476def0ae11848308994b5f (diff) | |
download | meson-44e7f75cc359f66f3fe696d3851394d7cf31aeb9.zip meson-44e7f75cc359f66f3fe696d3851394d7cf31aeb9.tar.gz meson-44e7f75cc359f66f3fe696d3851394d7cf31aeb9.tar.bz2 |
Remove unnecessary check during VS activation
-rw-r--r-- | mesonbuild/mesonlib/vsenv.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/mesonlib/vsenv.py b/mesonbuild/mesonlib/vsenv.py index fcb0c42..b359025 100644 --- a/mesonbuild/mesonlib/vsenv.py +++ b/mesonbuild/mesonlib/vsenv.py @@ -27,8 +27,6 @@ def _setup_vsenv(force: bool) -> bool: if os.environ.get('OSTYPE') == 'cygwin': return False if 'MESON_FORCE_VSENV_FOR_UNITTEST' not in os.environ: - if 'Visual Studio' in os.environ['PATH']: - return False # VSINSTALL is set when running setvars from a Visual Studio installation # Tested with Visual Studio 2012 and 2017 if 'VSINSTALLDIR' in os.environ: |