summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-24 16:13:31 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-24 16:13:31 (GMT)
commit576f0b65c739bc719d493d66fc25c90404067943 (patch)
tree2761d2f453ff14102cff51bec8dd6e1b1a7aaaaf /Source/cmMakefileTargetGenerator.cxx
parentf437c8e888db7a934792371e74fd7c15b71ec34f (diff)
downloadCMake-576f0b65c739bc719d493d66fc25c90404067943.zip
CMake-576f0b65c739bc719d493d66fc25c90404067943.tar.gz
CMake-576f0b65c739bc719d493d66fc25c90404067943.tar.bz2
BUG: Fix generation of Xcode 2.0 and earlier projects to use CMAKE_BUILD_TYPE.
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);