summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-08 17:03:47 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-08 17:03:47 (GMT)
commita3a046643aeb6244ac71a3cd645239099c6345f3 (patch)
treec6fc86af7356909f5b29d939ce89cf4235cc1da0 /Source/cmLocalUnixMakefileGenerator3.cxx
parent6ef56f777803ac6e90699a12636d0133b94b9312 (diff)
downloadCMake-a3a046643aeb6244ac71a3cd645239099c6345f3.zip
CMake-a3a046643aeb6244ac71a3cd645239099c6345f3.tar.gz
CMake-a3a046643aeb6244ac71a3cd645239099c6345f3.tar.bz2
ENH: Pass config to cmTarget RPATH install methods
This passes the build configuration to cmTarget methods IsChrpathUsed and NeedRelinkBeforeInstall. Later these methods will use the value.
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index b5779bc..923e43f 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -372,7 +372,7 @@ void cmLocalUnixMakefileGenerator3
// Add a local name for the rule to relink the target before
// installation.
- if(t->second.NeedRelinkBeforeInstall())
+ if(t->second.NeedRelinkBeforeInstall(this->ConfigurationName.c_str()))
{
makeTargetName = this->GetRelativeTargetDirectory(t->second);
makeTargetName += "/preinstall";