diff options
author | Brad King <brad.king@kitware.com> | 2006-02-24 16:13:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-24 16:13:31 (GMT) |
commit | 576f0b65c739bc719d493d66fc25c90404067943 (patch) | |
tree | 2761d2f453ff14102cff51bec8dd6e1b1a7aaaaf /Source/cmMakefileTargetGenerator.cxx | |
parent | f437c8e888db7a934792371e74fd7c15b71ec34f (diff) | |
download | CMake-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.cxx | 4 |
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); |