diff options
author | Brad King <brad.king@kitware.com> | 2006-02-18 21:36:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-18 21:36:50 (GMT) |
commit | cd3c98d0325dc6c4a8085cc4863114b6fbd08415 (patch) | |
tree | 7f9c2c743a51a090c5d319b39006e18113e9ffa1 /Source/cmFileCommand.cxx | |
parent | 644f6e83ee3bb1196cbe8457bbbd9c274eec483f (diff) | |
download | CMake-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.cxx | 4 |
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; } |