summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-07-15 12:44:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-07-15 12:44:58 (GMT)
commitb59f5ddb7fcde717adfe23ebafcbe8c641f44687 (patch)
tree77e90dbee6ff8bcccffe64f0efe2528785f86e80 /Source/cmInstallFilesCommand.cxx
parent8b2a797b572f086ed71c93c389ebebf449ca39df (diff)
downloadCMake-b59f5ddb7fcde717adfe23ebafcbe8c641f44687.zip
CMake-b59f5ddb7fcde717adfe23ebafcbe8c641f44687.tar.gz
CMake-b59f5ddb7fcde717adfe23ebafcbe8c641f44687.tar.bz2
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 6095dcc..b1dbf0d 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);
}