summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
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)
{