diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-19 10:31:16 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-02-19 10:31:16 -0500 |
commit | 65c1511814ee581fc21ac06eca92145e52215427 (patch) | |
tree | c2528743f5658efbe1d1f9fb4fde52f09996ff85 /Source | |
parent | 9d177237a7fc4d9943801b5c67cc1ccf21cacd25 (diff) | |
download | cmake-65c1511814ee581fc21ac06eca92145e52215427.tar.gz |
BUG: fix depend bug again for Xcode
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 01bdfc6437..0fada8d813 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2698,8 +2698,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget( { std::string universal = t->GetDirectory(); universal += "/"; - universal += - this->LocalGenerators[0]->GetMakefile()->GetProjectName(); + universal += this->CurrentProject; universal += ".build/"; universal += configName; universal += "/"; @@ -2712,7 +2711,7 @@ cmGlobalXCodeGenerator::CreateXCodeDependHackTarget( std::string universalFile = universal; universalFile += *arch; universalFile += "/"; - universalFile += t->GetName(); + universalFile += t->GetFullName(configName); makefileStream << "\t/bin/rm -f " << this->ConvertToRelativeForMake(universalFile.c_str()) |