summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index a21fe4e..e400163 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -219,7 +219,9 @@ void cmMakefileTargetGenerator::WriteCommonCodeRules()
}
// Add language-specific flags.
- this->LocalGenerator->AddLanguageFlags(flags, lang);
+ this->LocalGenerator
+ ->AddLanguageFlags(flags, lang,
+ this->LocalGenerator->m_ConfigurationName.c_str());
// Add shared-library flags if needed.
this->LocalGenerator->AddSharedFlags(flags, lang, shared);