summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
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);