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
1 changed files with 1 additions and 0 deletions

View File

@ -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