summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-06 18:51:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-06 18:51:53 (GMT)
commit2a7964e310d56a0e36e3c8581ca6b4904da03e41 (patch)
tree1575f75f1a8d6303a5cd065008e8abaa6eec506e /Source/cmMakefile.cxx
parent3355878eeb5e3e5e8a5a68ac879b31df6ca7f6fd (diff)
downloadCMake-2a7964e310d56a0e36e3c8581ca6b4904da03e41.zip
CMake-2a7964e310d56a0e36e3c8581ca6b4904da03e41.tar.gz
CMake-2a7964e310d56a0e36e3c8581ca6b4904da03e41.tar.bz2
ENH: better error reporting, and add NOTFOUND into cache for library and file find
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 87cc709..f7fc85a 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -190,7 +190,9 @@ bool cmMakefile::ReadListFile(const char* filename)
{
if(!usedCommand->Invoke(arguments))
{
- cmSystemTools::Error(usedCommand->GetError());
+ cmSystemTools::Error(usedCommand->GetName(),
+ ": Error : \n",
+ usedCommand->GetError());
}
else
{