Merge topic 'xcode-framework-paths'
21a0bea Xcode: Fix framework search paths in STATIC library targets (#14191)
This commit is contained in:
commit
aa025cc60a
@ -2087,9 +2087,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
||||
dirs.Add(incpath.c_str());
|
||||
}
|
||||
}
|
||||
if(target.GetType() != cmTarget::OBJECT_LIBRARY &&
|
||||
target.GetType() != cmTarget::STATIC_LIBRARY)
|
||||
{
|
||||
// Add framework search paths needed for linking.
|
||||
if(cmComputeLinkInformation* cli = target.GetLinkInformation(configName))
|
||||
{
|
||||
@ -2103,7 +2100,6 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if(!fdirs.IsEmpty())
|
||||
{
|
||||
buildSettings->AddAttribute("FRAMEWORK_SEARCH_PATHS",
|
||||
|
Loading…
x
Reference in New Issue
Block a user