summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallGenerator.cxx
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2010-09-20 17:12:54 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2010-09-20 21:33:35 (GMT)
commit225abc555de7499f4847e91de22523766541ce61 (patch)
treec452d3ccf7e1a845aa2242d332333604530303fc /Source/cmInstallGenerator.cxx
parentb03087798b5fb769c2924942bae5c42911b0d11d (diff)
downloadCMake-225abc555de7499f4847e91de22523766541ce61.zip
CMake-225abc555de7499f4847e91de22523766541ce61.tar.gz
CMake-225abc555de7499f4847e91de22523766541ce61.tar.bz2
InstallGen/CPack fix handling absolute installed file regression
Diffstat (limited to 'Source/cmInstallGenerator.cxx')
-rw-r--r--Source/cmInstallGenerator.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmInstallGenerator.cxx b/Source/cmInstallGenerator.cxx
index 9d5e416..d7505dc 100644
--- a/Source/cmInstallGenerator.cxx
+++ b/Source/cmInstallGenerator.cxx
@@ -67,8 +67,11 @@ void cmInstallGenerator
for(std::vector<std::string>::const_iterator fi = files.begin();
fi != files.end(); ++fi)
{
- if (fi!=files.begin()) os << ";";
- os << dest << cmSystemTools::ConvertToOutputPath("/");
+ if (fi!=files.begin())
+ {
+ os << ";";
+ }
+ os << dest << "/";
if (rename && *rename)
{
os << rename;