BUG: library return values were not UNIX slashes on Win98

This commit is contained in:
Ken Martin 2005-07-07 15:06:57 -04:00
parent ea38258eb3
commit 13e99490fb
1 changed files with 6 additions and 2 deletions

View File

@ -2259,10 +2259,14 @@ std::string cmMakefile::FindLibrary(const char* name,
}
}
// now look for the library in the 64 bit path
return cmSystemTools::FindLibrary(name, path64);
std::string tmp = cmSystemTools::FindLibrary(name, path64);
cmSystemTools::ConvertToUnixSlashes(tmp);
return tmp;
}
}
return cmSystemTools::FindLibrary(name, path);
std::string tmp = cmSystemTools::FindLibrary(name, path);
cmSystemTools::ConvertToUnixSlashes(tmp);
return tmp;
}
std::string cmMakefile::GetModulesFile(const char* filename)