[Cmake-commits] [cmake-commits] king committed cmTarget.cxx 1.252 1.253

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jul 7 10:57:07 EDT 2009


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

Modified Files:
	cmTarget.cxx 
Log Message:
BUG: Fix CMP0003 wrong-config link dir support

This fixes a dumb logic error introduced by the centralization of link
interface computation.  It prevented link directories from alternate
configurations from getting listed by the OLD behavior of CMP0003 for
targets linked as transitive dependencies.


Index: cmTarget.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTarget.cxx,v
retrieving revision 1.252
retrieving revision 1.253
diff -C 2 -d -r1.252 -r1.253
*** cmTarget.cxx	7 Jul 2009 13:45:26 -0000	1.252
--- cmTarget.cxx	7 Jul 2009 14:57:02 -0000	1.253
***************
*** 3798,3802 ****
          {
          // Support OLD behavior for CMP0003.
!         if(doLibraries && !emittedWrongConfig.insert(item).second)
            {
            iface.WrongConfigLibraries.push_back(item);
--- 3798,3802 ----
          {
          // Support OLD behavior for CMP0003.
!         if(doLibraries && emittedWrongConfig.insert(item).second)
            {
            iface.WrongConfigLibraries.push_back(item);



More information about the Cmake-commits mailing list