summaryrefslogtreecommitdiffstats
path: root/Source/cmFindPathCommand.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/cmFindPathCommand.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/cmFindPathCommand.cxx')
-rw-r--r--Source/cmFindPathCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindPathCommand.cxx b/Source/cmFindPathCommand.cxx
index 3385582..d454715 100644
--- a/Source/cmFindPathCommand.cxx
+++ b/Source/cmFindPathCommand.cxx
@@ -75,7 +75,7 @@ bool cmFindPathCommand::InitialPass(std::vector<std::string> const& argsIn)
// Glob the entry in case of wildcards.
cmSystemTools::GlobDirs(exp.c_str(), path);
}
-
+ cmSystemTools::GetPath(path, "CMAKE_INCLUDE_PATH");
// add the standard path
cmSystemTools::GetPath(path);
unsigned int k;