diff --git a/Source/cmOrderLinkDirectories.cxx b/Source/cmOrderLinkDirectories.cxx index f57027dc0..2c5a10822 100644 --- a/Source/cmOrderLinkDirectories.cxx +++ b/Source/cmOrderLinkDirectories.cxx @@ -47,7 +47,7 @@ bool cmOrderLinkDirectories::LibraryInDirectory(const char* dir, } //------------------------------------------------------------------- -void cmOrderLinkDirectories::FindLibrariesInSeachPaths() +void cmOrderLinkDirectories::FindLibrariesInSearchPaths() { for(std::set::iterator dir = this->LinkPathSet.begin(); dir != this->LinkPathSet.end(); ++dir) @@ -324,7 +324,7 @@ bool cmOrderLinkDirectories::DetermineLibraryPathOrder() this->LinkItems.push_back(this->RawLinkItems[i]); } } - this->FindLibrariesInSeachPaths(); + this->FindLibrariesInSearchPaths(); for(std::map >::iterator lib = this->LibraryToDirectories.begin(); lib!= this->LibraryToDirectories.end(); ++lib) diff --git a/Source/cmOrderLinkDirectories.h b/Source/cmOrderLinkDirectories.h index 7d4c5e89e..a7e1b2ae8 100644 --- a/Source/cmOrderLinkDirectories.h +++ b/Source/cmOrderLinkDirectories.h @@ -104,7 +104,7 @@ private: std::vector& sortedPaths); void PrepareLinkTargets(); bool LibraryInDirectory(const char* dir, const char* lib); - void FindLibrariesInSeachPaths(); + void FindLibrariesInSearchPaths(); void FindIndividualLibraryOrders(); void PrintMap(const char* name, std::map >& m);