From b9353599780c91ab9461ea2d424ce279ef44644e Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 7 May 2019 16:43:00 -0700 Subject: [PATCH] backends/ninja: Ifort is msvc-like but doesn't have showincludes --- mesonbuild/backend/ninjabackend.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py index e0a64401d..69682d466 100644 --- a/mesonbuild/backend/ninjabackend.py +++ b/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: