BUG: Only the last extension should be removed.
This commit is contained in:
parent
c5574e096b
commit
df29ea087f
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue