diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMacroCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMacroCommand.cxx b/Source/cmMacroCommand.cxx index e4de342..cb0b7bd 100644 --- a/Source/cmMacroCommand.cxx +++ b/Source/cmMacroCommand.cxx @@ -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" |