summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkInformation.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 17:02:45 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 23:04:38 (GMT)
commitc5718217ad242ca0fc6e6b15f4ee670e4a332c93 (patch)
treed93cdea4deb3bbf9a64358978d9f95e6b7cbfd96 /Source/cmComputeLinkInformation.cxx
parentbf5eb4a3f394051d9245a7f0c3a18b4a1d2c948a (diff)
downloadCMake-c5718217ad242ca0fc6e6b15f4ee670e4a332c93.zip
CMake-c5718217ad242ca0fc6e6b15f4ee670e4a332c93.tar.gz
CMake-c5718217ad242ca0fc6e6b15f4ee670e4a332c93.tar.bz2
cmGeneratorTarget: Move HaveInstallTreeRPATH from cmTarget.
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r--Source/cmComputeLinkInformation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index d35b566..d907dd0 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1920,7 +1920,7 @@ void cmComputeLinkInformation::GetRPath(std::vector<std::string>& runtimeDirs,
(for_install ||
this->Target->Target->GetPropertyAsBool("BUILD_WITH_INSTALL_RPATH"));
bool use_install_rpath =
- (outputRuntime && this->Target->Target->HaveInstallTreeRPATH() &&
+ (outputRuntime && this->Target->HaveInstallTreeRPATH() &&
linking_for_install);
bool use_build_rpath =
(outputRuntime && this->Target->HaveBuildTreeRPATH(this->Config) &&