diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-12-19 21:46:15 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-12-19 21:46:15 (GMT) |
commit | 3a304f8e1b331a207766e5a0ca6c1ee6d6f7a25b (patch) | |
tree | cda27d33be2246a861c09ac7578fa659448a1cb7 /Source/cmMakefile.cxx | |
parent | de96fd1df995f5b7d3f79514a5a3bf90c6b4b205 (diff) | |
download | CMake-3a304f8e1b331a207766e5a0ca6c1ee6d6f7a25b.zip CMake-3a304f8e1b331a207766e5a0ca6c1ee6d6f7a25b.tar.gz CMake-3a304f8e1b331a207766e5a0ca6c1ee6d6f7a25b.tar.bz2 |
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
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |