From 3a304f8e1b331a207766e5a0ca6c1ee6d6f7a25b Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Wed, 19 Dec 2007 16:46:15 -0500 Subject: 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 --- Source/cmMakefile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 0c2ac47..c5df4fb 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -347,7 +347,7 @@ bool cmMakefile::ExecuteCommand(const cmListFileFunction& lff) error << "Error in cmake code at\n" << lff.FilePath << ":" << lff.Line << ":\n" << "Command " << usedCommand->GetName() - << " not scriptable" << std::endl; + << "() is not scriptable" << std::endl; cmSystemTools::Error(error.str().c_str()); result = false; cmSystemTools::SetFatalErrorOccured(); -- cgit v0.12