diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 3a22e21f8..471b92ad3 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -461,7 +461,7 @@ bool cmFileCommand::HandleInstallCommand( std::string destfile = destfilewe; if ( ext.size() ) { - destfile + "." + ext; + destfile += ext; } switch( itype ) {