Commit 6672c295 authored by Ken Martin's avatar Ken Martin
Browse files

Set comspec substitute the right way

parent 5b6d899b
......@@ -433,8 +433,7 @@ int cmake::AddCMakePaths(const char *arg0)
"Path to CMake installation.", cmCacheManager::INTERNAL);
#ifdef _WIN32
std::string path = cmSystemTools::GetFilenamePath(cMakeSelf);
std::string comspec = path + "\\cmw9xcom";
std::string comspec = "cmw9xcom.exe";
cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
#endif
return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment