[Cmake-commits] [cmake-commits] king committed cmGlobalGenerator.cxx 1.240 1.241
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Sep 15 13:46:58 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv14847/Source
Modified Files:
cmGlobalGenerator.cxx
Log Message:
ENH: Simplify NOTFOUND variable check
When looking for NOTFOUND libraries, use the direct dependencies of a
target instead of all dependencies. At least one target will trigger
the NOTFOUND error anyway because at least one must directly link it.
This removes another use of the old-style link line computation.
Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.240
retrieving revision 1.241
diff -C 2 -d -r1.240 -r1.241
*** cmGlobalGenerator.cxx 19 Aug 2008 17:48:21 -0000 1.240
--- cmGlobalGenerator.cxx 15 Sep 2008 17:46:56 -0000 1.241
***************
*** 948,952 ****
l != targets.end(); l++)
{
! const cmTarget::LinkLibraryVectorType& libs=l->second.GetLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = libs.begin();
lib != libs.end(); ++lib)
--- 948,953 ----
l != targets.end(); l++)
{
! const cmTarget::LinkLibraryVectorType& libs =
! l->second.GetOriginalLinkLibraries();
for(cmTarget::LinkLibraryVectorType::const_iterator lib = libs.begin();
lib != libs.end(); ++lib)
More information about the Cmake-commits
mailing list