[Cmake-commits] [cmake-commits] king committed cmComputeLinkDepends.cxx 1.26 1.27

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Aug 28 22:25:15 EDT 2008


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

Modified Files:
	cmComputeLinkDepends.cxx 
Log Message:
BUG: A -framework Foo is also a lib


Index: cmComputeLinkDepends.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkDepends.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -C 2 -d -r1.26 -r1.27
*** cmComputeLinkDepends.cxx	29 Aug 2008 02:12:15 -0000	1.26
--- cmComputeLinkDepends.cxx	29 Aug 2008 02:25:13 -0000	1.27
***************
*** 313,317 ****
    entry.Item = item;
    entry.Target = this->FindTargetToLink(entry.Item.c_str());
!   entry.IsFlag = !entry.Target && item[0] == '-' && item[1] != 'l';
  
    // If the item has dependencies queue it to follow them.
--- 313,318 ----
    entry.Item = item;
    entry.Target = this->FindTargetToLink(entry.Item.c_str());
!   entry.IsFlag = (!entry.Target && item[0] == '-' && item[1] != 'l' &&
!                   item.substr(0, 10) != "-framework");
  
    // If the item has dependencies queue it to follow them.



More information about the Cmake-commits mailing list