diff options
-rw-r--r-- | Source/cmake.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index b30b5ff..7c360f8 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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; |