Merge topic 'early-exit-loop'

c959725 Exit the loop when we have determined the language.
This commit is contained in:
David Cole 2012-01-09 14:10:36 -05:00 committed by CMake Topic Stage
commit 9362400d20
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") if(ei->Language == "C" || ei->Language == "CXX")
{ {
lang_is_c_or_cxx = true; lang_is_c_or_cxx = true;
break;
} }
} }