diff options
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 642b78f..ae4547d 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1166,7 +1166,8 @@ void cmLocalVisualStudio7Generator // if the source file does not match the linker language // then force c or c++ - if(needForceLang || (linkLanguage && lang && strcmp(lang, linkLanguage) != 0)) + if(needForceLang || (linkLanguage && lang + && strcmp(lang, linkLanguage) != 0)) { if(strcmp(lang, "CXX") == 0) { |