mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
@@ -1154,8 +1154,12 @@ bool cmGlobalXCodeGenerator::CreateXCodeTargets(
|
|||||||
// dstPath in frameworks is relative to Versions/<version>
|
// dstPath in frameworks is relative to Versions/<version>
|
||||||
ostr << mit->first;
|
ostr << mit->first;
|
||||||
} else if (mit->first != "MacOS") {
|
} else if (mit->first != "MacOS") {
|
||||||
// dstPath in bundles is relative to Contents/MacOS
|
if (gtgt->Target->GetMakefile()->PlatformIsAppleIos()) {
|
||||||
ostr << "../" << mit->first.c_str();
|
ostr << mit->first;
|
||||||
|
} else {
|
||||||
|
// dstPath in bundles is relative to Contents/MacOS
|
||||||
|
ostr << "../" << mit->first;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
copyFilesBuildPhase->AddAttribute("dstPath",
|
copyFilesBuildPhase->AddAttribute("dstPath",
|
||||||
this->CreateString(ostr.str()));
|
this->CreateString(ostr.str()));
|
||||||
|
|||||||
Reference in New Issue
Block a user