From d82a038ee16c3c51219613882162307c4bcaa4ad Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 8 Jun 2005 16:55:30 -0400 Subject: BUG: fatal error in include file should not cause report of missing include file --- Source/cmIncludeCommand.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmIncludeCommand.cxx b/Source/cmIncludeCommand.cxx index deb1098..7b7a27e 100644 --- a/Source/cmIncludeCommand.cxx +++ b/Source/cmIncludeCommand.cxx @@ -48,7 +48,7 @@ bool cmIncludeCommand::InitialPass(std::vector const& args) } bool readit = m_Makefile->ReadListFile( m_Makefile->GetCurrentListFile(), fname.c_str() ); - if(!optional && !readit) + if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured()) { std::string m = "Could not find include file: "; m += fname; -- cgit v0.12