diff options
author | Brad King <brad.king@kitware.com> | 2006-04-11 18:54:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-04-11 18:54:19 (GMT) |
commit | e380bad5f6fbe37048e3f06e125e2938da9ffc68 (patch) | |
tree | 27f459913d9baf32b30618557e4ccf761427da3e | |
parent | bb014b0f4d0f01d4a37e23434116febfb2a9450e (diff) | |
download | CMake-e380bad5f6fbe37048e3f06e125e2938da9ffc68.zip CMake-e380bad5f6fbe37048e3f06e125e2938da9ffc68.tar.gz CMake-e380bad5f6fbe37048e3f06e125e2938da9ffc68.tar.bz2 |
BUG: Use flag-map transform only for C and C++ flags.
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 3c9942f..c619660 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -384,7 +384,7 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, target.GetName()); return; } - if(!(strcmp(linkLanguage, "RC") == 0 || strcmp(linkLanguage, "DEF") == 0)) + if(strcmp(linkLanguage, "C") == 0 || strcmp(linkLanguage, "CXX") == 0) { std::string baseFlagVar = "CMAKE_"; baseFlagVar += linkLanguage; |