diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-05 17:07:03 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-10 09:03:48 (GMT) |
commit | e73916992c6893572f24ee4fa631b33445d6cdf6 (patch) | |
tree | c569a4a8b11ad4dd716f14862e2e3990b9241613 /Source/cmLocalXCodeGenerator.cxx | |
parent | c5718217ad242ca0fc6e6b15f4ee670e4a332c93 (diff) | |
download | CMake-e73916992c6893572f24ee4fa631b33445d6cdf6.zip CMake-e73916992c6893572f24ee4fa631b33445d6cdf6.tar.gz CMake-e73916992c6893572f24ee4fa631b33445d6cdf6.tar.bz2 |
cmGeneratorTarget: Move HasMacOSXRpathInstallNameDir from cmTarget.
Diffstat (limited to 'Source/cmLocalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmLocalXCodeGenerator.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmLocalXCodeGenerator.cxx b/Source/cmLocalXCodeGenerator.cxx index b19112d..70997bf 100644 --- a/Source/cmLocalXCodeGenerator.cxx +++ b/Source/cmLocalXCodeGenerator.cxx @@ -56,7 +56,8 @@ void cmLocalXCodeGenerator::Generate() iter != targets.end(); ++iter) { cmTarget* t = &iter->second; - t->HasMacOSXRpathInstallNameDir(""); + cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(t); + gt->HasMacOSXRpathInstallNameDir(""); } } @@ -70,7 +71,8 @@ void cmLocalXCodeGenerator::GenerateInstallRules() iter != targets.end(); ++iter) { cmTarget* t = &iter->second; - t->HasMacOSXRpathInstallNameDir(""); + cmGeneratorTarget* gt = this->GlobalGenerator->GetGeneratorTarget(t); + gt->HasMacOSXRpathInstallNameDir(""); } } |