소스 검색

ENH: look in the windows LIB env variable for libraries

Bill Hoffman 21 년 전
부모
커밋
b69606da4c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Source/cmMakefile.cxx

+ 1 - 0
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());