summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalMSYSMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-10-03 17:35:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-10-03 17:35:07 (GMT)
commit8883a761d3cf0efcfda9228f371a038debf67ac0 (patch)
tree5b15ff37b32e0169bb26b6a4c017592b2e390767 /Source/cmGlobalMSYSMakefileGenerator.cxx
parent4d0c0e6d64d7541bb84881207454ef9181e25088 (diff)
downloadCMake-8883a761d3cf0efcfda9228f371a038debf67ac0.zip
CMake-8883a761d3cf0efcfda9228f371a038debf67ac0.tar.gz
CMake-8883a761d3cf0efcfda9228f371a038debf67ac0.tar.bz2
BUG: bug#3789 add msys for the msys generator
Diffstat (limited to 'Source/cmGlobalMSYSMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalMSYSMakefileGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalMSYSMakefileGenerator.cxx b/Source/cmGlobalMSYSMakefileGenerator.cxx
index 9cce564..0c76625 100644
--- a/Source/cmGlobalMSYSMakefileGenerator.cxx
+++ b/Source/cmGlobalMSYSMakefileGenerator.cxx
@@ -72,6 +72,7 @@ void cmGlobalMSYSMakefileGenerator
{
gxx = tgxx;
}
+ mf->AddDefinition("MSYS", "1");
mf->AddDefinition("CMAKE_GENERATOR_CC", gcc.c_str());
mf->AddDefinition("CMAKE_GENERATOR_CXX", gxx.c_str());
this->cmGlobalUnixMakefileGenerator3::EnableLanguage(l, mf);