parent
723453d4aa
commit
10762565e9
|
@ -1521,6 +1521,16 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
|||
extraLinkOptions += " ";
|
||||
extraLinkOptions += targetLinkFlags;
|
||||
}
|
||||
if(configName && *configName)
|
||||
{
|
||||
std::string linkFlagsVar = "LINK_FLAGS_";
|
||||
linkFlagsVar += cmSystemTools::UpperCase(configName);
|
||||
if(const char* linkFlags = target.GetProperty(linkFlagsVar.c_str()))
|
||||
{
|
||||
extraLinkOptions += " ";
|
||||
extraLinkOptions += linkFlags;
|
||||
}
|
||||
}
|
||||
|
||||
// Set target-specific architectures.
|
||||
std::vector<std::string> archs;
|
||||
|
|
Loading…
Reference in New Issue