From e380bad5f6fbe37048e3f06e125e2938da9ffc68 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 11 Apr 2006 14:54:19 -0400 Subject: BUG: Use flag-map transform only for C and C++ flags. --- Source/cmLocalVisualStudio7Generator.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12