Browse Source

Set comspec substitute

Ken Martin 23 years ago
parent
commit
5b6d899bc6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      Source/ctest.cxx

+ 5 - 0
Source/ctest.cxx

@@ -275,6 +275,11 @@ int main (int argc, char *argv[])
     {
     args.push_back(argv[i]);
     }
+
+#ifdef _WIN32
+  std::string comspec = "cmw9xcom.exe";
+  cmSystemTools::SetWindows9xComspecSubstitute(comspec.c_str());
+#endif
   
   for(unsigned int i=1; i < args.size(); ++i)
     {