Commit cd3c98d0 authored by Brad King's avatar Brad King
Browse files

ENH: Clarified error message.

parent 644f6e83
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment