summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2002-09-10 19:36:11 (GMT)
committerBrad King <brad.king@kitware.com>2002-09-10 19:36:11 (GMT)
commit929a2b18f6163f28727c42115fd8004b48b79241 (patch)
treee3b3a11bfdcabf282c0a2f33b2a852ec1d6b61ca /Source
parent15d27bbc42b43ef7e10b516377d054cf0f34cb8c (diff)
downloadCMake-929a2b18f6163f28727c42115fd8004b48b79241.zip
CMake-929a2b18f6163f28727c42115fd8004b48b79241.tar.gz
CMake-929a2b18f6163f28727c42115fd8004b48b79241.tar.bz2
ERR: Fix for borland on linux.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0b12ce5..d816726 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -644,7 +644,7 @@ int cmake::Configure(const char *arg0, const std::vector<std::string>* args)
}
else
{
-#if defined(__BORLANDC__)
+#if defined(__BORLANDC__) && defined(_WIN32)
this->SetGlobalGenerator(new cmGlobalBorlandMakefileGenerator);
#elif defined(_WIN32) && !defined(__CYGWIN__)
this->SetGlobalGenerator(new cmGlobalVisualStudio6Generator);