summaryrefslogtreecommitdiff
path: root/Source/cmInstallFilesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-15 08:44:58 -0400
committerKen Martin <ken.martin@kitware.com>2002-07-15 08:44:58 -0400
commitb59f5ddb7fcde717adfe23ebafcbe8c641f44687 (patch)
tree77e90dbee6ff8bcccffe64f0efe2528785f86e80 /Source/cmInstallFilesCommand.cxx
parent8b2a797b572f086ed71c93c389ebebf449ca39df (diff)
downloadcmake-b59f5ddb7fcde717adfe23ebafcbe8c641f44687.tar.gz
fix install target
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r--Source/cmInstallFilesCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx
index 6095dccc1c..b1dbf0df9e 100644
--- a/Source/cmInstallFilesCommand.cxx
+++ b/Source/cmInstallFilesCommand.cxx
@@ -63,7 +63,7 @@ void cmInstallFilesCommand::FinalPass()
{
// replace any variables
std::string temps = *s;
- testf = temps + ext;
+ testf = cmSystemTools::GetFilenameWithoutExtension(temps) + ext;
// add to the result
targetSourceLists.push_back(testf);
}