Commit 852242e5 authored by Brad King's avatar Brad King 💬
Browse files

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

parent e429335f
......@@ -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)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment