summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-23 21:21:49 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-23 21:21:49 (GMT)
commit7adb808244669555135f87a728c983d5e382454e (patch)
treefdce1e9971de9cb8a2ffbb4e1794edae945427a6 /Source/cmFindLibraryCommand.h
parent48fddd602da3df44554b20ba134c811010af5dc4 (diff)
downloadCMake-7adb808244669555135f87a728c983d5e382454e.zip
CMake-7adb808244669555135f87a728c983d5e382454e.tar.gz
CMake-7adb808244669555135f87a728c983d5e382454e.tar.bz2
ENH: Teach find_library to avoid returning library paths in system directories that may be converted to architecture-specific directories by the compiler when it invokes the linker.
Diffstat (limited to 'Source/cmFindLibraryCommand.h')
-rw-r--r--Source/cmFindLibraryCommand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmFindLibraryCommand.h b/Source/cmFindLibraryCommand.h
index 233f766..e29dae2 100644
--- a/Source/cmFindLibraryCommand.h
+++ b/Source/cmFindLibraryCommand.h
@@ -69,6 +69,7 @@ protected:
void AddArchitecturePaths(const char* suffix);
void AddLib64Paths();
std::string FindLibrary(const char* name);
+ std::string FixForImplicitLocations(std::string const& lib);
};