diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index e1214d242..7d6c3d020 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; }