BUG: Use flag-map transform only for C and C++ flags.
This commit is contained in:
parent
bb014b0f4d
commit
e380bad5f6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue