mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
BUG: fatal error in include file should not cause report of missing include file
This commit is contained in:
parent
25314c428a
commit
d82a038ee1
@ -48,7 +48,7 @@ bool cmIncludeCommand::InitialPass(std::vector<std::string> const& args)
|
|||||||
}
|
}
|
||||||
bool readit = m_Makefile->ReadListFile( m_Makefile->GetCurrentListFile(),
|
bool readit = m_Makefile->ReadListFile( m_Makefile->GetCurrentListFile(),
|
||||||
fname.c_str() );
|
fname.c_str() );
|
||||||
if(!optional && !readit)
|
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
|
||||||
{
|
{
|
||||||
std::string m = "Could not find include file: ";
|
std::string m = "Could not find include file: ";
|
||||||
m += fname;
|
m += fname;
|
||||||
|
Loading…
Reference in New Issue
Block a user