InstallGen/CPack fix handling absolute installed file regression

This commit is contained in:
Eric NOULARD 2010-09-20 19:12:54 +02:00
parent b03087798b
commit 225abc555d
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();
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;