STYLE: nicer error message:
"Command options() is not scriptable" is IMO better to understand than "Command options not scriptable" (with all uppercase commands it was easier to see) Alex
This commit is contained in:
parent
de96fd1df9
commit
3a304f8e1b
@ -347,7 +347,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff)
|
|||||||
error << "Error in cmake code at\n"
|
error << "Error in cmake code at\n"
|
||||||
<< lff.FilePath << ":" << lff.Line << ":\n"
|
<< lff.FilePath << ":" << lff.Line << ":\n"
|
||||||
<< "Command " << usedCommand->GetName()
|
<< "Command " << usedCommand->GetName()
|
||||||
<< " not scriptable" << std::endl;
|
<< "() is not scriptable" << std::endl;
|
||||||
cmSystemTools::Error(error.str().c_str());
|
cmSystemTools::Error(error.str().c_str());
|
||||||
result = false;
|
result = false;
|
||||||
cmSystemTools::SetFatalErrorOccured();
|
cmSystemTools::SetFatalErrorOccured();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user