diff options
author | Brad King <brad.king@kitware.com> | 2008-05-27 14:21:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-05-27 14:21:21 (GMT) |
commit | 852242e56b74520b3c4486f4d5aca54b42c42a77 (patch) | |
tree | aa76a12c2e15d9c329e4fc262f3293f2c5bc7118 /Source/cmInstallTargetGenerator.cxx | |
parent | e429335f28bc6f5e180c9106d2b5d07900d2bbfe (diff) | |
download | CMake-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.cxx | 6 |
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) { |