Browse Source

BUG: fatal error in include file should not cause report of missing include file

Ken Martin 20 years ago
parent
commit
d82a038ee1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/cmIncludeCommand.cxx

+ 1 - 1
Source/cmIncludeCommand.cxx

@@ -48,7 +48,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> 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;