Browse Source

Try to fix borland and nmake try compile

Andy Cedilnik 23 years ago
parent
commit
6a096be924
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Source/cmGlobalGenerator.cxx

+ 3 - 0
Source/cmGlobalGenerator.cxx

@@ -166,6 +166,9 @@ int cmGlobalGenerator::TryCompile(const char *, const char *bindir,
     {
     makeCommand += " ";
     makeCommand += target;
+#ifdef WIN32
+    makeCommand += ".exe";
+#endif // WIN32
     }
   else
     {