summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-23 18:44:35 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-23 18:44:35 (GMT)
commit3bc0c4469ccd85bb0b0296885044b9b8724b216f (patch)
tree21158f42ff905ede63d2c13f78ab2c7ac8526f4b /Source/cmSystemTools.cxx
parenta496a78550ff62c6f849daeece4838b339f4eff3 (diff)
downloadCMake-3bc0c4469ccd85bb0b0296885044b9b8724b216f.zip
CMake-3bc0c4469ccd85bb0b0296885044b9b8724b216f.tar.gz
CMake-3bc0c4469ccd85bb0b0296885044b9b8724b216f.tar.bz2
ENH: add better error message
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index da0afec..c944515 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -888,7 +888,8 @@ void cmSystemTools::SplitProgramPath(const char* in_name,
std::string oldDir = in_name;
cmSystemTools::ConvertToUnixSlashes(oldDir);
cmSystemTools::Error("Error splitting file name off end of path:\n",
- oldDir.c_str());
+ oldDir.c_str(), "\nDirectory not found: ",
+ dir.c_str());
dir = in_name;
return;
}