소스 검색

BUG: win95 returning non unix path for cmake command

Ken Martin 20 년 전
부모
커밋
9d531303c0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Source/cmake.cxx

+ 1 - 0
Source/cmake.cxx

@@ -536,6 +536,7 @@ int cmake::AddCMakePaths(const char *arg0)
   cmSystemTools::ConvertToUnixSlashes(cMakeSelf);
   failures.push_back(cMakeSelf);
   cMakeSelf = cmSystemTools::FindProgram(cMakeSelf.c_str());
+  cmSystemTools::ConvertToUnixSlashes(cMakeSelf);
   if(!cmSystemTools::FileExists(cMakeSelf.c_str()))
     {
 #ifdef CMAKE_BUILD_DIR