summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-12-02 20:59:59 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-12-02 20:59:59 (GMT)
commit9e526f797ae544fadc8a4289d6c4f06a0770342b (patch)
tree4cb87a3d59c7cc6c436ce2997e94030248257844 /Source/cmFindLibraryCommand.cxx
parent82a01df535c9434787abcc26881986d85052adf7 (diff)
downloadCMake-9e526f797ae544fadc8a4289d6c4f06a0770342b.zip
CMake-9e526f797ae544fadc8a4289d6c4f06a0770342b.tar.gz
CMake-9e526f797ae544fadc8a4289d6c4f06a0770342b.tar.bz2
removed cmMakefile depend from cmSystemTools
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index a00aaea..ff7bf44 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -127,9 +127,7 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn)
for(std::vector<std::string>::iterator i = names.begin();
i != names.end() ; ++i)
{
- library = cmSystemTools::FindLibrary(i->c_str(),
- path,
- m_Makefile);
+ library = m_Makefile->FindLibrary(i->c_str(), path);
if(library != "")
{
m_Makefile->AddCacheDefinition(args[0].c_str(),