summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-27 20:00:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-27 20:00:54 (GMT)
commitb69606da4c47c5c1f5e15a01e2af2d33de669ee8 (patch)
tree159a33407d7e8c8d5aa369ab324fa3ba70604837 /Source/cmMakefile.cxx
parent3dc02020d962807bff2d8e3a44559eadf5e19f3c (diff)
downloadCMake-b69606da4c47c5c1f5e15a01e2af2d33de669ee8.zip
CMake-b69606da4c47c5c1f5e15a01e2af2d33de669ee8.tar.gz
CMake-b69606da4c47c5c1f5e15a01e2af2d33de669ee8.tar.bz2
ENH: look in the windows LIB env variable for libraries
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index f312dca..445985a 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2213,6 +2213,7 @@ std::string cmMakefile::FindLibrary(const char* name,
// Add the system search path to our path.
std::vector<std::string> path;
cmSystemTools::GetPath(path, "CMAKE_LIBRARY_PATH");
+ cmSystemTools::GetPath(path, "LIB");
cmSystemTools::GetPath(path);
// now add the path
path.insert(path.end(), userPaths.begin(), userPaths.end());