COMP: Fix build on Borland 5.5.

This commit is contained in:
Brad King 2008-01-23 13:37:28 -05:00
parent 09af624dee
commit 65c1d62902
1 changed files with 2 additions and 1 deletions

View File

@ -1079,7 +1079,8 @@ void cmComputeLinkInformation::FindDirectoriesForLib(unsigned int lri)
std::set<cmStdString> const& files = std::set<cmStdString> const& files =
(this->GlobalGenerator (this->GlobalGenerator
->GetDirectoryContent(this->RuntimeDirectories[i], false)); ->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)) cmSystemTools::FileExists(file.c_str(), true))
{ {
// The library will be found in this directory but this is not // The library will be found in this directory but this is not