diff options
-rw-r--r-- | Source/cmInstallFilesCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx index b1dbf0d..6f45583 100644 --- a/Source/cmInstallFilesCommand.cxx +++ b/Source/cmInstallFilesCommand.cxx @@ -63,7 +63,7 @@ void cmInstallFilesCommand::FinalPass() { // replace any variables std::string temps = *s; - testf = cmSystemTools::GetFilenameWithoutExtension(temps) + ext; + testf = cmSystemTools::GetFilenameWithoutLastExtension(temps) + ext; // add to the result targetSourceLists.push_back(testf); } |