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()) )
|
if ( !cmSystemTools::FileIsDirectory(destination.c_str()) )
|
||||||
{
|
{
|
||||||
std::string errstring = "found file: " + destination +
|
std::string errstring = "INSTALL destination: " + destination +
|
||||||
" where expecting directory with the same name.";
|
" is not a directory.";
|
||||||
this->SetError(errstring.c_str());
|
this->SetError(errstring.c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user