ENH: fix error message
This commit is contained in:
parent
ba2b99bb9f
commit
d3691460f5
|
@ -970,8 +970,8 @@ bool cmFileCommand::HandleRelativePathCommand(
|
||||||
if(!cmSystemTools::FileIsFullPath(fileName.c_str()))
|
if(!cmSystemTools::FileIsFullPath(fileName.c_str()))
|
||||||
{
|
{
|
||||||
std::string errstring =
|
std::string errstring =
|
||||||
"RelativePath must be passed a full path to the directory: "
|
"RelativePath must be passed a full path to the file: "
|
||||||
+ directoryName;
|
+ fileName;
|
||||||
this->SetError(errstring.c_str());
|
this->SetError(errstring.c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue