Commit 65c1d629 authored by Brad King's avatar Brad King
Browse files

COMP: Fix build on Borland 5.5.

parent 09af624d
......@@ -1079,7 +1079,8 @@ void cmComputeLinkInformation::FindDirectoriesForLib(unsigned int lri)
std::set<cmStdString> const& files =
->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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment