BUG: win95 returning non unix path for cmake command

This commit is contained in:
Ken Martin 2005-07-07 09:44:55 -04:00
parent 3f14dae716
commit 9d531303c0

View File

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