diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-19 13:14:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2008-03-19 13:14:10 (GMT) |
commit | 9ea3cbc7b76ad82065f697f6b10bad5ed92e0e27 (patch) | |
tree | 4f8d67b91b0d3b8e2219521ca983254b5eacfeeb /Source/cmComputeLinkInformation.cxx | |
parent | ce7ee70872a18568df8ee1ae3039be5fa085c2b7 (diff) | |
download | CMake-9ea3cbc7b76ad82065f697f6b10bad5ed92e0e27.zip CMake-9ea3cbc7b76ad82065f697f6b10bad5ed92e0e27.tar.gz CMake-9ea3cbc7b76ad82065f697f6b10bad5ed92e0e27.tar.bz2 |
ENH: do not warn about frameworks as they are not affected by -L anyway
Diffstat (limited to 'Source/cmComputeLinkInformation.cxx')
-rw-r--r-- | Source/cmComputeLinkInformation.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 00679f4..7f310b9 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. |