summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-04-22 17:24:20 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-04-22 17:24:20 (GMT)
commitd59e06595c986b53cbb7d537e951ea8af07fe11a (patch)
tree91d4874deab87fac9dcd76f8627c9c5531611427 /Source/cmMakefile.cxx
parent5ff05c35d1099780fa60849e26c95c25499b9722 (diff)
downloadCMake-d59e06595c986b53cbb7d537e951ea8af07fe11a.zip
CMake-d59e06595c986b53cbb7d537e951ea8af07fe11a.tar.gz
CMake-d59e06595c986b53cbb7d537e951ea8af07fe11a.tar.bz2
BUG: fix for 301 CMAKE_LIBRARY_PATH and CMAKE_INCLUDE_PATH env vars now used in FIND_LIBRARY and FIND_PATH in addtion to and before PATH
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 59b270a..aa8b1af 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -2133,6 +2133,7 @@ std::string cmMakefile::FindLibrary(const char* name,
// Add the system search path to our path.
std::vector<std::string> path = userPaths;
+ cmSystemTools::GetPath(path, "CMAKE_LIBRARY_PATH");
cmSystemTools::GetPath(path);
// Add some lib directories specific to compilers, depending on the