diff options
| -rw-r--r-- | mesonbuild/dependencies/mpi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/mpi.py b/mesonbuild/dependencies/mpi.py index 1eae1a493..9c364b2f4 100644 --- a/mesonbuild/dependencies/mpi.py +++ b/mesonbuild/dependencies/mpi.py @@ -41,7 +41,7 @@ def mpi_factory(env: 'Environment', return [] compiler_is_intel = compiler.get_id() in {'intel', 'intel-cl'} - if DependencyMethods.CONFIG_TOOL in methods: + if DependencyMethods.CONFIG_TOOL in methods and not env.machines[for_machine].is_windows(): nwargs = kwargs.copy() # We try the environment variables for the tools first, but then |
