summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-07-16 14:14:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-07-16 14:14:41 (GMT)
commit556d27c9eb075dfedb4c1262d51138f2ddf5daad (patch)
treeb5e8a8bc989b808bf54f134db1a2a20b2802def9 /Source/cmMakefile.cxx
parentd823632c8bc2d9d66e3350e4ceb357f3227c7ea2 (diff)
downloadCMake-556d27c9eb075dfedb4c1262d51138f2ddf5daad.zip
CMake-556d27c9eb075dfedb4c1262d51138f2ddf5daad.tar.gz
CMake-556d27c9eb075dfedb4c1262d51138f2ddf5daad.tar.bz2
ENH: add support for mac osx
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index a0bb617..f449610 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -108,8 +108,11 @@ void cmMakefile::AddDefaultCommands()
// Cygwin is more like unix so enable the unix commands
#if defined(__CYGWIN__)
this->AddDefinition("UNIX", "1");
+ this->AddDefinition("CYGWIN", "1");
+#endif
+#if defined(__APPLE__)
+ this->AddDefinition("APPLE", "1");
#endif
-
// always creat an empty install target
cmTarget target;
target.SetType(cmTarget::INSTALL);