diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-06 16:30:43 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-07-27 19:59:02 (GMT) |
commit | ec38e4c84faa276e664f950b417a71c3901485f6 (patch) | |
tree | 7d7a85fcee40d9f950344f07ea4af5480a05e213 /Source/cmGlobalXCodeGenerator.cxx | |
parent | dfb025bf126080f6bb209f6f40ff909c4f5c5c97 (diff) | |
download | CMake-ec38e4c84faa276e664f950b417a71c3901485f6.zip CMake-ec38e4c84faa276e664f950b417a71c3901485f6.tar.gz CMake-ec38e4c84faa276e664f950b417a71c3901485f6.tar.bz2 |
Move GetFullPath to cmGeneratorTarget
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 6e46bc0..ba5ff30 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -3598,6 +3598,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget( { cmXCodeObject* target = *i; cmTarget* t =target->GetTarget(); + cmGeneratorTarget *gt = this->GetGeneratorTarget(t); if(t->GetType() == cmTarget::EXECUTABLE || // Nope - no post-build for OBJECT_LIRBRARY @@ -3615,7 +3616,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget( t->GetType() == cmTarget::SHARED_LIBRARY || t->GetType() == cmTarget::MODULE_LIBRARY) { - std::string tfull = t->GetFullPath(configName); + std::string tfull = gt->GetFullPath(configName); std::string trel = this->ConvertToRelativeForMake(tfull.c_str()); // Add this target to the post-build phases of its dependencies. |