From 8883a761d3cf0efcfda9228f371a038debf67ac0 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 3 Oct 2006 13:35:07 -0400 Subject: BUG: bug#3789 add msys for the msys generator --- Source/cmGlobalMSYSMakefileGenerator.cxx | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v0.12