diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:14:41 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-07-16 14:14:41 (GMT) |
commit | 556d27c9eb075dfedb4c1262d51138f2ddf5daad (patch) | |
tree | b5e8a8bc989b808bf54f134db1a2a20b2802def9 /Source/cmMakefile.cxx | |
parent | d823632c8bc2d9d66e3350e4ceb357f3227c7ea2 (diff) | |
download | CMake-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.cxx | 5 |
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); |