BUG: Use flag-map transform only for C and C++ flags.

This commit is contained in:
Brad King 2006-04-11 14:54:19 -04:00
parent bb014b0f4d
commit e380bad5f6
1 changed files with 1 additions and 1 deletions

View File

@ -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;