ENH: Clarified error message.
This commit is contained in:
parent
644f6e83ee
commit
cd3c98d032
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user