diff options
author | Brad King <brad.king@kitware.com> | 2002-07-15 13:46:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-07-15 13:46:09 (GMT) |
commit | df29ea087f5baf48ac065f39ed84472ef437edc2 (patch) | |
tree | 8a893ea62cdf6ff98f1060747fba64bd79258209 /Source | |
parent | c5574e096beb6136eff364f1cc5d046e8abb9302 (diff) | |
download | CMake-df29ea087f5baf48ac065f39ed84472ef437edc2.zip CMake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.gz CMake-df29ea087f5baf48ac065f39ed84472ef437edc2.tar.bz2 |
BUG: Only the last extension should be removed.
Diffstat (limited to 'Source')
-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); } |