diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 20:33:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-09-27 20:33:42 (GMT) |
commit | 309b4caf450e190c6a47140a7f3f689791bf9bd6 (patch) | |
tree | cf92e2f2b7122a55cab4ea238ff01ede06fe6dcb /Source | |
parent | de3cc6f217b9b04930c70a1859b36fe0d90a7e45 (diff) | |
download | CMake-309b4caf450e190c6a47140a7f3f689791bf9bd6.zip CMake-309b4caf450e190c6a47140a7f3f689791bf9bd6.tar.gz CMake-309b4caf450e190c6a47140a7f3f689791bf9bd6.tar.bz2 |
BUG: make sure release flags are replaced
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 1427074..20a7927 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -1098,7 +1098,8 @@ void cmLocalVisualStudio6Generator::WriteDSPHeader(std::ostream& fout, const cha // the correct C or CXX flags cmSystemTools::ReplaceString(line, "CMAKE_CXX_FLAGS_MINSIZEREL", flagsMinSize.c_str()); cmSystemTools::ReplaceString(line, "CMAKE_CXX_FLAGS_DEBUG", flagsDebug.c_str()); - cmSystemTools::ReplaceString(line,"CMAKE_CXX_FLAGS_RELWITHDEBINFO", flagsDebugRel.c_str()); + cmSystemTools::ReplaceString(line, "CMAKE_CXX_FLAGS_RELWITHDEBINFO", flagsDebugRel.c_str()); + cmSystemTools::ReplaceString(line, "CMAKE_CXX_FLAGS_RELEASE", flagsRelease.c_str()); cmSystemTools::ReplaceString(line, "CMAKE_CXX_FLAGS", flags.c_str()); fout << line.c_str() << std::endl; } |