diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 14:37:59 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-06-14 14:37:59 (GMT) |
commit | ab9c677232902ff966294672ab252a119265638c (patch) | |
tree | 39b493eb2885185a7c3b46562e114484ccff303c /Source/cmFindLibraryCommand.cxx | |
parent | 72bb1865c3e48e6d2353259bdc163a50cdf61304 (diff) | |
download | CMake-ab9c677232902ff966294672ab252a119265638c.zip CMake-ab9c677232902ff966294672ab252a119265638c.tar.gz CMake-ab9c677232902ff966294672ab252a119265638c.tar.bz2 |
ENH: FindLibrary can now use the makefile to add some compiler-specific lib search path (depending on the generator).
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx index 5bd68de..0643ac6 100644 --- a/Source/cmFindLibraryCommand.cxx +++ b/Source/cmFindLibraryCommand.cxx @@ -127,7 +127,8 @@ bool cmFindLibraryCommand::InitialPass(std::vector<std::string> const& argsIn) i != names.end() ; ++i) { library = cmSystemTools::FindLibrary(i->c_str(), - path); + path, + m_Makefile); if(library != "") { m_Makefile->AddCacheDefinition(args[0].c_str(), |