diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-06-08 20:55:30 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-06-08 20:55:30 (GMT) |
commit | d82a038ee16c3c51219613882162307c4bcaa4ad (patch) | |
tree | 650f25d34d200411381984bd0237a94f2a620deb /Source/cmIncludeCommand.cxx | |
parent | 25314c428ad733148decb664c76f4e6ddd6732fc (diff) | |
download | CMake-d82a038ee16c3c51219613882162307c4bcaa4ad.zip CMake-d82a038ee16c3c51219613882162307c4bcaa4ad.tar.gz CMake-d82a038ee16c3c51219613882162307c4bcaa4ad.tar.bz2 |
BUG: fatal error in include file should not cause report of missing include file
Diffstat (limited to 'Source/cmIncludeCommand.cxx')
-rw-r--r-- | Source/cmIncludeCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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<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; |