diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-09-30 18:01:51 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-09-30 18:01:51 (GMT) |
commit | 6672c295c7f0508c6a0bf45cdf83764ac3e250fa (patch) | |
tree | 3dffc8c98495a51cb406f153dd924a5f281979b1 /Source/cmake.cxx | |
parent | 5b6d899bc6346ab9db41a6e82d7eeeeef13564af (diff) | |
download | CMake-6672c295c7f0508c6a0bf45cdf83764ac3e250fa.zip CMake-6672c295c7f0508c6a0bf45cdf83764ac3e250fa.tar.gz CMake-6672c295c7f0508c6a0bf45cdf83764ac3e250fa.tar.bz2 |
Set comspec substitute the right way
Diffstat (limited to 'Source/cmake.cxx')
-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; |