From c9597259eac7bf894dbf88a3b78bebedc183440b Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 5 Nov 2011 16:17:23 +0100 Subject: [PATCH] Exit the loop when we have determined the language. --- Source/cmLocalUnixMakefileGenerator3.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 6be3eb92e..70dcfd590 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -232,6 +232,7 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile() if(ei->Language == "C" || ei->Language == "CXX") { lang_is_c_or_cxx = true; + break; } }