From 9ea3cbc7b76ad82065f697f6b10bad5ed92e0e27 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 19 Mar 2008 09:14:10 -0400 Subject: [PATCH] ENH: do not warn about frameworks as they are not affected by -L anyway --- Source/cmComputeLinkInformation.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 00679f43f..7f310b973 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -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.