summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-27 14:21:21 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-27 14:21:21 (GMT)
commit852242e56b74520b3c4486f4d5aca54b42c42a77 (patch)
treeaa76a12c2e15d9c329e4fc262f3293f2c5bc7118 /Source/cmInstallTargetGenerator.cxx
parente429335f28bc6f5e180c9106d2b5d07900d2bbfe (diff)
downloadCMake-852242e56b74520b3c4486f4d5aca54b42c42a77.zip
CMake-852242e56b74520b3c4486f4d5aca54b42c42a77.tar.gz
CMake-852242e56b74520b3c4486f4d5aca54b42c42a77.tar.bz2
BUG: RPATH adjustment of versioned executables should operate on the file and not the symlink.
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r--Source/cmInstallTargetGenerator.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index 8db0957..202fe4d 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -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)
{