|
@@ -2726,12 +2726,14 @@ void cmGlobalXCodeGenerator
|
|
|
buildSettings->AddAttribute("SDKROOT",
|
|
buildSettings->AddAttribute("SDKROOT",
|
|
|
this->CreateString(sysroot));
|
|
this->CreateString(sysroot));
|
|
|
std::string archString;
|
|
std::string archString;
|
|
|
|
|
+ const char* sep = "";
|
|
|
for( std::vector<std::string>::iterator i =
|
|
for( std::vector<std::string>::iterator i =
|
|
|
this->Architectures.begin();
|
|
this->Architectures.begin();
|
|
|
i != this->Architectures.end(); ++i)
|
|
i != this->Architectures.end(); ++i)
|
|
|
{
|
|
{
|
|
|
|
|
+ archString += sep;
|
|
|
archString += *i;
|
|
archString += *i;
|
|
|
- archString += " ";
|
|
|
|
|
|
|
+ sep = " ";
|
|
|
}
|
|
}
|
|
|
buildSettings->AddAttribute("ARCHS",
|
|
buildSettings->AddAttribute("ARCHS",
|
|
|
this->CreateString(archString.c_str()));
|
|
this->CreateString(archString.c_str()));
|