summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-06-01 19:08:36 (GMT)
committerBrad King <brad.king@kitware.com>2006-06-01 19:08:36 (GMT)
commitbfb0ec58e819ae4d168337c5aadf73764599adc8 (patch)
treeec4161f20930bb3f33061e2d8602d06b90096cdc /Source
parentad9dd6d11c06e5e180efad391717b985b3818cfb (diff)
downloadCMake-bfb0ec58e819ae4d168337c5aadf73764599adc8.zip
CMake-bfb0ec58e819ae4d168337c5aadf73764599adc8.tar.gz
CMake-bfb0ec58e819ae4d168337c5aadf73764599adc8.tar.bz2
BUG: Adjustment of install_name with install_name_tool should account for DESTDIR when specifying the file to be changed.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmInstallTargetGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx
index ef5bb43..e58fd9d 100644
--- a/Source/cmInstallTargetGenerator.cxx
+++ b/Source/cmInstallTargetGenerator.cxx
@@ -361,7 +361,7 @@ void cmInstallTargetGenerator
{
os << "\n -change \"" << i->first << "\" \"" << i->second << "\"";
}
- os << "\n \"" << destination << "/"
+ os << "\n \"$ENV{DESTDIR}" << destination << "/"
<< this->GetScriptReference(this->Target, "REMAPPED", true) << "\")\n";
os << "ENDIF(" << component_test << ")\n";
}