summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-11-05 15:17:23 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-01-08 14:41:05 (GMT)
commitc9597259eac7bf894dbf88a3b78bebedc183440b (patch)
tree5a843a793228b54d66ec2275365531c050e01934 /Source
parent2858f3433abe283eb1f243b4c2405a0616fc8352 (diff)
downloadCMake-c9597259eac7bf894dbf88a3b78bebedc183440b.zip
CMake-c9597259eac7bf894dbf88a3b78bebedc183440b.tar.gz
CMake-c9597259eac7bf894dbf88a3b78bebedc183440b.tar.bz2
Exit the loop when we have determined the language.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 6be3eb9..70dcfd5 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;
}
}