Only autodetect 'vs' backend on windows

pull/4623/head
Daniel Mensinger 6 years ago committed by Jussi Pakkanen
parent 8e85a7b7b8
commit 194adc828f
  1. 2
      run_tests.py

@ -38,7 +38,7 @@ def guess_backend(backend, msbuild_exe):
# Auto-detect backend if unspecified # Auto-detect backend if unspecified
backend_flags = [] backend_flags = []
if backend is None: if backend is None:
if msbuild_exe is not None: if msbuild_exe is not None and mesonlib.is_windows():
backend = 'vs' # Meson will auto-detect VS version to use backend = 'vs' # Meson will auto-detect VS version to use
else: else:
backend = 'ninja' backend = 'ninja'

Loading…
Cancel
Save