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(!args[0].FilePath)
|
||||
{
|
||||
args[0].FilePath = "Unknown";
|
||||
}
|
||||
cmOStringStream error;
|
||||
error << "Error in cmake code at\n"
|
||||
<< args[0].FilePath << ":" << args[0].Line << ":\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user