backends/ninja: Ifort is msvc-like but doesn't have showincludes

pull/5331/head
Dylan Baker 6 years ago
parent 94591ce7b0
commit b935359978
  1. 4
      mesonbuild/backend/ninjabackend.py

@ -221,6 +221,10 @@ class NinjaBackend(backends.Backend):
Detect the search prefix to use.'''
for compiler in self.build.compilers.values():
# Have to detect the dependency format
# IFort on windows is MSVC like, but doesn't have /showincludes
if isinstance(compiler, FortranCompiler):
continue
if isinstance(compiler, VisualStudioLikeCompiler):
break
else:

Loading…
Cancel
Save