mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 05:10:10 -05:00
Move GetFullPath to cmGeneratorTarget
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user