ENH: Improve formatting of include command error message.

This commit is contained in:
Brad King 2008-03-08 09:27:44 -05:00
parent b2d7a839a4
commit 959bd61e37
1 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,9 @@ bool cmIncludeCommand
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
{
std::string m = "Could not find include file: ";
std::string m =
"could not find load file:\n"
" ";
m += fname;
this->SetError(m.c_str());
return false;