ENH: add better error message

This commit is contained in:
Bill Hoffman 2001-05-23 14:44:35 -04:00
parent a496a78550
commit 3bc0c4469c
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}