summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-23 18:37:28 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-23 18:37:28 (GMT)
commit65c1d62902998a225b1862e64b0962a915a0dd12 (patch)
tree2ecc2ffea682c139ef2a8054adcef3298ffd4294 /Source
parent09af624deefa6d88e6d13d6a13907e7caf965d25 (diff)
downloadCMake-65c1d62902998a225b1862e64b0962a915a0dd12.zip
CMake-65c1d62902998a225b1862e64b0962a915a0dd12.tar.gz
CMake-65c1d62902998a225b1862e64b0962a915a0dd12.tar.bz2
COMP: Fix build on Borland 5.5.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmComputeLinkInformation.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx
index 78ad4de..a4d4c98 100644
--- a/Source/cmComputeLinkInformation.cxx
+++ b/Source/cmComputeLinkInformation.cxx
@@ -1079,7 +1079,8 @@ void cmComputeLinkInformation::FindDirectoriesForLib(unsigned int lri)
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