ENH: look in the windows LIB env variable for libraries
This commit is contained in:
parent
3dc02020d9
commit
b69606da4c
|
@ -2213,6 +2213,7 @@ std::string cmMakefile::FindLibrary(const char* name,
|
||||||
// Add the system search path to our path.
|
// Add the system search path to our path.
|
||||||
std::vector<std::string> path;
|
std::vector<std::string> path;
|
||||||
cmSystemTools::GetPath(path, "CMAKE_LIBRARY_PATH");
|
cmSystemTools::GetPath(path, "CMAKE_LIBRARY_PATH");
|
||||||
|
cmSystemTools::GetPath(path, "LIB");
|
||||||
cmSystemTools::GetPath(path);
|
cmSystemTools::GetPath(path);
|
||||||
// now add the path
|
// now add the path
|
||||||
path.insert(path.end(), userPaths.begin(), userPaths.end());
|
path.insert(path.end(), userPaths.begin(), userPaths.end());
|
||||||
|
|
Loading…
Reference in New Issue