diff options
Diffstat (limited to 'Source/cmInstallTargetGenerator.cxx')
-rw-r--r-- | Source/cmInstallTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmInstallTargetGenerator.cxx b/Source/cmInstallTargetGenerator.cxx index dc3b139..44f3b04 100644 --- a/Source/cmInstallTargetGenerator.cxx +++ b/Source/cmInstallTargetGenerator.cxx @@ -69,7 +69,7 @@ void cmInstallTargetGenerator::GenerateScriptForConfig(std::ostream& os, { // Compute the build tree directory from which to copy the target. std::string fromDirConfig; - if(this->Target->NeedRelinkBeforeInstall()) + if(this->Target->NeedRelinkBeforeInstall(config)) { fromDirConfig = this->Target->GetMakefile()->GetStartOutputDirectory(); fromDirConfig += cmake::GetCMakeFilesDirectory(); @@ -529,7 +529,7 @@ cmInstallTargetGenerator const char* config, std::string const& toDestDirPath) { // Skip the chrpath if the target does not need it. - if(this->ImportLibrary || !this->Target->IsChrpathUsed()) + if(this->ImportLibrary || !this->Target->IsChrpathUsed(config)) { return; } @@ -560,7 +560,7 @@ cmInstallTargetGenerator const char* config, std::string const& toDestDirPath) { // Skip the chrpath if the target does not need it. - if(this->ImportLibrary || !this->Target->IsChrpathUsed()) + if(this->ImportLibrary || !this->Target->IsChrpathUsed(config)) { return; } |