ENH: Improve formatting of include command error message.
This commit is contained in:
parent
b2d7a839a4
commit
959bd61e37
@ -95,7 +95,9 @@ bool cmIncludeCommand
|
|||||||
|
|
||||||
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
|
if(!optional && !readit && !cmSystemTools::GetFatalErrorOccured())
|
||||||
{
|
{
|
||||||
std::string m = "Could not find include file: ";
|
std::string m =
|
||||||
|
"could not find load file:\n"
|
||||||
|
" ";
|
||||||
m += fname;
|
m += fname;
|
||||||
this->SetError(m.c_str());
|
this->SetError(m.c_str());
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user