mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 16:16:33 +00:00
BUG: win95 returning non unix path for cmake command
This commit is contained in:
parent
3f14dae716
commit
9d531303c0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user