Browse Source

BUG: win95 returning non unix path for cmake command

Ken Martin 20 years ago
parent
commit
9d531303c0
1 changed files with 1 additions and 0 deletions
  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