diff options
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 250dc7d..e199857 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -704,7 +704,10 @@ cmGlobalXCodeGenerator::CreateXCodeTargets(cmLocalGenerator* gen, copyFilesBuildPhase->AddAttribute("runOnlyForDeploymentPostprocessing", this->CreateString("0")); cmOStringStream ostr; - ostr << "../" << mit->first.c_str(); + if ( mit->first != "MacOS" ) + { + ostr << "../" << mit->first.c_str(); + } copyFilesBuildPhase->AddAttribute("dstPath", this->CreateString(ostr.str().c_str())); buildFiles = this->CreateObject(cmXCodeObject::OBJECT_LIST); |