mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
ENH: do not warn about frameworks as they are not affected by -L anyway
This commit is contained in:
@@ -1177,8 +1177,11 @@ void cmComputeLinkInformation::AddUserItem(std::string const& item)
|
||||
}
|
||||
else if(item[0] == '-' || item[0] == '$' || item[0] == '`')
|
||||
{
|
||||
// This is a linker option provided by the user.
|
||||
this->OldUserFlagItems.push_back(item);
|
||||
if(item.find("-framework") != 0)
|
||||
{
|
||||
// This is a linker option provided by the user.
|
||||
this->OldUserFlagItems.push_back(item);
|
||||
}
|
||||
|
||||
// Restore the target link type since this item does not specify
|
||||
// one.
|
||||
|
||||
Reference in New Issue
Block a user