summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-30 18:00:28 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-30 18:00:28 (GMT)
commit5b6d899bc6346ab9db41a6e82d7eeeeef13564af (patch)
tree4e9063f74e0eb522645e8dd2b8ff002a1f3c69b1 /Source/ctest.cxx
parent67be746027179f6bad8cb1ff488f1f7a1a80b0b2 (diff)
downloadCMake-5b6d899bc6346ab9db41a6e82d7eeeeef13564af.zip
CMake-5b6d899bc6346ab9db41a6e82d7eeeeef13564af.tar.gz
CMake-5b6d899bc6346ab9db41a6e82d7eeeeef13564af.tar.bz2
Set comspec substitute
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index 0852620..191d7e1 100644
--- a/Source/ctest.cxx
+++ b/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)
{