summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 6e6a2d7..01bdfc6 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2698,7 +2698,8 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget(
{
std::string universal = t->GetDirectory();
universal += "/";
- universal += this->CurrentMakefile->GetProjectName();
+ universal +=
+ this->LocalGenerators[0]->GetMakefile()->GetProjectName();
universal += ".build/";
universal += configName;
universal += "/";