瀏覽代碼

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