Set comspec substitute the right way
This commit is contained in:
parent
5b6d899bc6
commit
6672c295c7
|
@ -433,8 +433,7 @@ int cmake::AddCMakePaths(const char *arg0)
|
||||||
"Path to CMake installation.", cmCacheManager::INTERNAL);
|
"Path to CMake installation.", cmCacheManager::INTERNAL);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
std::string path = cmSystemTools::GetFilenamePath(cMakeSelf);
|
std::string comspec = "cmw9xcom.exe";
|
||||||
std::string comspec = path + "\\cmw9xcom";
|
|
||||||
cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
|
cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
|
||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in New Issue