From 65c1d62902998a225b1862e64b0962a915a0dd12 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 23 Jan 2008 13:37:28 -0500 Subject: [PATCH] COMP: Fix build on Borland 5.5. --- Source/cmComputeLinkInformation.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmComputeLinkInformation.cxx b/Source/cmComputeLinkInformation.cxx index 78ad4deb1..a4d4c9885 100644 --- a/Source/cmComputeLinkInformation.cxx +++ b/Source/cmComputeLinkInformation.cxx @@ -1079,7 +1079,8 @@ void cmComputeLinkInformation::FindDirectoriesForLib(unsigned int lri) std::set const& files = (this->GlobalGenerator ->GetDirectoryContent(this->RuntimeDirectories[i], false)); - if(files.find(re.SOName) != files.end() || + if((std::set::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