Exit the loop when we have determined the language.

This commit is contained in:
Stephen Kelly 2011-11-05 16:17:23 +01:00
parent 2858f3433a
commit c9597259ea
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile()
if(ei->Language == "C" || ei->Language == "CXX")
{
lang_is_c_or_cxx = true;
break;
}
}