[cmake-commits] king committed cmComputeLinkInformation.cxx 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 23 13:37:30 EST 2008


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

Modified Files:
	cmComputeLinkInformation.cxx 
Log Message:
COMP: Fix build on Borland 5.5.


Index: cmComputeLinkInformation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmComputeLinkInformation.cxx,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- cmComputeLinkInformation.cxx	23 Jan 2008 18:30:55 -0000	1.4
+++ cmComputeLinkInformation.cxx	23 Jan 2008 18:37:28 -0000	1.5
@@ -1079,7 +1079,8 @@
       std::set<cmStdString> const& files =
         (this->GlobalGenerator
          ->GetDirectoryContent(this->RuntimeDirectories[i], false));
-      if(files.find(re.SOName) != files.end() ||
+      if((std::set<cmStdString>::const_iterator(files.find(re.SOName)) !=
+          files.end()) ||
          cmSystemTools::FileExists(file.c_str(), true))
         {
         // The library will be found in this directory but this is not



More information about the Cmake-commits mailing list