[cmake-commits] king committed cmComputeLinkInformation.cxx 1.18 1.19

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Feb 6 20:14:57 EST 2008


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

Modified Files:
	cmComputeLinkInformation.cxx 
Log Message:
BUG: Fix cmComputeLinkInformation to include the target's user link directories in the runtime path computation.  This bug was introduced when cmOrderRuntimeDirectories was introduced.


Index: cmComputeLinkInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkInformation.cxx,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- cmComputeLinkInformation.cxx	6 Feb 2008 18:34:21 -0000	1.18
+++ cmComputeLinkInformation.cxx	7 Feb 2008 01:14:55 -0000	1.19
@@ -328,6 +328,11 @@
                                     "dependent library path");
     }
 
+  // Add the search path entries requested by the user to the runtime
+  // path computation.
+  this->OrderRuntimeSearchPath->AddDirectories(
+     this->Target->GetLinkDirectories());
+
   // Get the implicit link directories for this platform.
   if(const char* implicitLinks =
      (this->Makefile->GetDefinition



More information about the Cmake-commits mailing list