BUG: bug#3789 add msys for the msys generator

This commit is contained in:
Bill Hoffman 2006-10-03 13:35:07 -04:00
parent 4d0c0e6d64
commit 8883a761d3
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ void cmGlobalMSYSMakefileGenerator
{ {
gxx = tgxx; gxx = tgxx;
} }
mf->AddDefinition("MSYS", "1");
mf->AddDefinition("CMAKE_GENERATOR_CC", gcc.c_str()); mf->AddDefinition("CMAKE_GENERATOR_CC", gcc.c_str());
mf->AddDefinition("CMAKE_GENERATOR_CXX", gxx.c_str()); mf->AddDefinition("CMAKE_GENERATOR_CXX", gxx.c_str());
this->cmGlobalUnixMakefileGenerator3::EnableLanguage(l, mf); this->cmGlobalUnixMakefileGenerator3::EnableLanguage(l, mf);