ENH: Clarified error message.

This commit is contained in:
Brad King 2006-02-18 16:36:50 -05:00
parent 644f6e83ee
commit cd3c98d032
1 changed files with 2 additions and 2 deletions

View File

@ -459,8 +459,8 @@ bool cmFileCommand::HandleInstallCommand(
}
if ( !cmSystemTools::FileIsDirectory(destination.c_str()) )
{
std::string errstring = "found file: " + destination +
" where expecting directory with the same name.";
std::string errstring = "INSTALL destination: " + destination +
" is not a directory.";
this->SetError(errstring.c_str());
return false;
}