BUG: fix for seg fault bug #3815
This commit is contained in:
parent
48ee381e6b
commit
46c6442ce2
|
@ -235,6 +235,10 @@ bool cmMacroHelperCommand::InvokeInitialPass
|
||||||
}
|
}
|
||||||
if(!this->Makefile->ExecuteCommand(newLFF))
|
if(!this->Makefile->ExecuteCommand(newLFF))
|
||||||
{
|
{
|
||||||
|
if(!args[0].FilePath)
|
||||||
|
{
|
||||||
|
args[0].FilePath = "Unknown";
|
||||||
|
}
|
||||||
cmOStringStream error;
|
cmOStringStream error;
|
||||||
error << "Error in cmake code at\n"
|
error << "Error in cmake code at\n"
|
||||||
<< args[0].FilePath << ":" << args[0].Line << ":\n"
|
<< args[0].FilePath << ":" << args[0].Line << ":\n"
|
||||||
|
|
Loading…
Reference in New Issue