mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
1 parent
9a733c7bd6
commit
484ccb0c45
1 file changed
+6
-2
@@ -1154,8 +1154,12 @@ bool cmGlobalXCodeGenerator::CreateXCodeTargets(
|
||||
// dstPath in frameworks is relative to Versions/<version>
|
||||
ostr << mit->first;
|
||||
} else if (mit->first != "MacOS") {
|
||||
// dstPath in bundles is relative to Contents/MacOS
|
||||
ostr << "../" << mit->first.c_str();
|
||||
if (gtgt->Target->GetMakefile()->PlatformIsAppleIos()) {
|
||||
ostr << mit->first;
|
||||
} else {
|
||||
// dstPath in bundles is relative to Contents/MacOS
|
||||
ostr << "../" << mit->first;
|
||||
}
|
||||
}
|
||||
copyFilesBuildPhase->AddAttribute("dstPath",
|
||||
this->CreateString(ostr.str()));
|
||||
|
||||
Reference in new issue
Block a user