[Cmake-commits] [cmake-commits] hoffman committed cmComputeLinkInformation.cxx 1.28 1.29

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Mar 19 09:14:13 EDT 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv26068

Modified Files:
	cmComputeLinkInformation.cxx 
Log Message:
ENH: do not warn about frameworks as they are not affected by -L anyway


Index: cmComputeLinkInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkInformation.cxx,v
retrieving revision 1.28
retrieving revision 1.29
diff -C 2 -d -r1.28 -r1.29
*** cmComputeLinkInformation.cxx	18 Mar 2008 21:32:26 -0000	1.28
--- cmComputeLinkInformation.cxx	19 Mar 2008 13:14:10 -0000	1.29
***************
*** 1178,1183 ****
    else if(item[0] == '-' || item[0] == '$' || item[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
--- 1178,1186 ----
    else if(item[0] == '-' || item[0] == '$' || item[0] == '`')
      {
!     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



More information about the Cmake-commits mailing list