Merge topic 'fixAbsoluteDestHandlingRegression'

225abc5 InstallGen/CPack  fix handling absolute installed file regression
This commit is contained in:
Brad King 2010-09-28 14:02:44 -04:00 committed by CMake Topic Stage
commit 126158f046
1 changed files with 5 additions and 2 deletions

View File

@ -67,8 +67,11 @@ void cmInstallGenerator
for(std::vector<std::string>::const_iterator fi = files.begin(); for(std::vector<std::string>::const_iterator fi = files.begin();
fi != files.end(); ++fi) fi != files.end(); ++fi)
{ {
if (fi!=files.begin()) os << ";"; if (fi!=files.begin())
os << dest << cmSystemTools::ConvertToOutputPath("/"); {
os << ";";
}
os << dest << "/";
if (rename && *rename) if (rename && *rename)
{ {
os << rename; os << rename;