BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink.

This commit is contained in:
Brad King 2008-05-27 10:21:21 -04:00
parent e429335f28
commit 852242e56b
1 changed files with 6 additions and 0 deletions

View File

@ -200,6 +200,12 @@ cmInstallTargetGenerator
}
else
{
// Operations done at install time on the installed file should
// be done on the real file and not any of the symlinks.
toInstallPath = this->GetInstallDestination();
toInstallPath += "/";
toInstallPath += targetNameReal;
files.push_back(from1);
if(targetNameReal != targetName)
{