summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-18 21:36:50 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-18 21:36:50 (GMT)
commitcd3c98d0325dc6c4a8085cc4863114b6fbd08415 (patch)
tree7f9c2c743a51a090c5d319b39006e18113e9ffa1 /Source/cmFileCommand.cxx
parent644f6e83ee3bb1196cbe8457bbbd9c274eec483f (diff)
downloadCMake-cd3c98d0325dc6c4a8085cc4863114b6fbd08415.zip
CMake-cd3c98d0325dc6c4a8085cc4863114b6fbd08415.tar.gz
CMake-cd3c98d0325dc6c4a8085cc4863114b6fbd08415.tar.bz2
ENH: Clarified error message.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index e1214d2..7d6c3d0 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -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;
}