diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-29 21:25:24 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-29 21:25:24 (GMT) |
commit | 5076590a029639b20ed69c65ebd4aa19f80777de (patch) | |
tree | 5b203c47a2e490ff9e76681328d1539ac059c1ed | |
parent | 7bc8564c73ca926f8986a1e4f946aaa268fa4fbf (diff) | |
download | CMake-5076590a029639b20ed69c65ebd4aa19f80777de.zip CMake-5076590a029639b20ed69c65ebd4aa19f80777de.tar.gz CMake-5076590a029639b20ed69c65ebd4aa19f80777de.tar.bz2 |
ENH: Simplify. Instead of doing ../MacOS just copy to current directory
-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); |