Merge topic 'early-exit-loop'
c959725
Exit the loop when we have determined the language.
This commit is contained in:
commit
9362400d20
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue