mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -06:00
ENH: Clarified error message.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user