[Cmake-commits] [cmake-commits] king committed cmComputeLinkDepends.cxx 1.21 1.22

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 27 10:21:44 EDT 2008


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

Modified Files:
	cmComputeLinkDepends.cxx 
Log Message:
BUG: Treat empty config name as no configuration

In cmComputeLinkDepends we should treat an empty configuration name as
equivalent to no specific configuration at all.


Index: cmComputeLinkDepends.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkDepends.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** cmComputeLinkDepends.cxx	18 Aug 2008 15:39:22 -0000	1.21
--- cmComputeLinkDepends.cxx	27 Aug 2008 14:21:41 -0000	1.22
***************
*** 172,176 ****
  
    // The configuration being linked.
!   this->Config = config;
  
    // Enable debug mode if requested.
--- 172,176 ----
  
    // The configuration being linked.
!   this->Config = (config && *config)? config : 0;
  
    // Enable debug mode if requested.



More information about the Cmake-commits mailing list