ENH: fix error message

This commit is contained in:
Bill Hoffman 2006-05-11 15:50:42 -04:00
parent ba2b99bb9f
commit d3691460f5
1 changed files with 2 additions and 2 deletions

View File

@ -970,8 +970,8 @@ bool cmFileCommand::HandleRelativePathCommand(
if(!cmSystemTools::FileIsFullPath(fileName.c_str()))
{
std::string errstring =
"RelativePath must be passed a full path to the directory: "
+ directoryName;
"RelativePath must be passed a full path to the file: "
+ fileName;
this->SetError(errstring.c_str());
return false;
}