BUG: Only the last extension should be removed.

This commit is contained in:
Brad King 2002-07-15 09:46:09 -04:00
parent c5574e096b
commit df29ea087f
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ void cmInstallFilesCommand::FinalPass()
{ {
// replace any variables // replace any variables
std::string temps = *s; std::string temps = *s;
testf = cmSystemTools::GetFilenameWithoutExtension(temps) + ext; testf = cmSystemTools::GetFilenameWithoutLastExtension(temps) + ext;
// add to the result // add to the result
targetSourceLists.push_back(testf); targetSourceLists.push_back(testf);
} }