diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-03 13:35:07 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-10-03 13:35:07 -0400 |
commit | 8883a761d3cf0efcfda9228f371a038debf67ac0 (patch) | |
tree | 5b15ff37b32e0169bb26b6a4c017592b2e390767 /Source/cmGlobalMSYSMakefileGenerator.cxx | |
parent | 4d0c0e6d64d7541bb84881207454ef9181e25088 (diff) | |
download | cmake-8883a761d3cf0efcfda9228f371a038debf67ac0.tar.gz |
BUG: bug#3789 add msys for the msys generator
Diffstat (limited to 'Source/cmGlobalMSYSMakefileGenerator.cxx')
-rw-r--r-- | Source/cmGlobalMSYSMakefileGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalMSYSMakefileGenerator.cxx b/Source/cmGlobalMSYSMakefileGenerator.cxx index 9cce56460d..0c76625e05 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); |