diff options
author | Brad King <brad.king@kitware.com> | 2009-07-08 17:03:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-08 17:03:47 (GMT) |
commit | a3a046643aeb6244ac71a3cd645239099c6345f3 (patch) | |
tree | c6fc86af7356909f5b29d939ce89cf4235cc1da0 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | 6ef56f777803ac6e90699a12636d0133b94b9312 (diff) | |
download | CMake-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/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 00935b8..9c92824 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -72,7 +72,7 @@ void cmMakefileLibraryTargetGenerator::WriteRuleFiles() break; case cmTarget::SHARED_LIBRARY: this->WriteSharedLibraryRules(false); - if(this->Target->NeedRelinkBeforeInstall()) + if(this->Target->NeedRelinkBeforeInstall(this->ConfigName)) { // Write rules to link an installable version of the target. this->WriteSharedLibraryRules(true); @@ -80,7 +80,7 @@ void cmMakefileLibraryTargetGenerator::WriteRuleFiles() break; case cmTarget::MODULE_LIBRARY: this->WriteModuleLibraryRules(false); - if(this->Target->NeedRelinkBeforeInstall()) + if(this->Target->NeedRelinkBeforeInstall(this->ConfigName)) { // Write rules to link an installable version of the target. this->WriteModuleLibraryRules(true); |