From 6a096be9246436118fdc40a997d21544388457ad Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 23 Sep 2002 12:23:06 -0400 Subject: [PATCH] Try to fix borland and nmake try compile --- Source/cmGlobalGenerator.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 9a46ab023..437ab701a 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/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 {