ENH: do not warn about frameworks as they are not affected by -L anyway
This commit is contained in:
parent
ce7ee70872
commit
9ea3cbc7b7
|
@ -1176,9 +1176,12 @@ void cmComputeLinkInformation::AddUserItem(std::string const& item)
|
||||||
lib = this->ExtractAnyLibraryName.match(2);
|
lib = this->ExtractAnyLibraryName.match(2);
|
||||||
}
|
}
|
||||||
else if(item[0] == '-' || item[0] == '$' || item[0] == '`')
|
else if(item[0] == '-' || item[0] == '$' || item[0] == '`')
|
||||||
|
{
|
||||||
|
if(item.find("-framework") != 0)
|
||||||
{
|
{
|
||||||
// This is a linker option provided by the user.
|
// This is a linker option provided by the user.
|
||||||
this->OldUserFlagItems.push_back(item);
|
this->OldUserFlagItems.push_back(item);
|
||||||
|
}
|
||||||
|
|
||||||
// Restore the target link type since this item does not specify
|
// Restore the target link type since this item does not specify
|
||||||
// one.
|
// one.
|
||||||
|
|
Loading…
Reference in New Issue