summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-01-09 19:10:36 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-01-09 19:10:36 (GMT)
commit9362400d20cd77b0489f26dcdf852c0fe4b51861 (patch)
tree199b0a996b087bd6469d52d76b7a49ad5c0575f9 /Source
parent95b701b82ad218a26e12b3410970c861bcd80d10 (diff)
parentc9597259eac7bf894dbf88a3b78bebedc183440b (diff)
downloadCMake-9362400d20cd77b0489f26dcdf852c0fe4b51861.zip
CMake-9362400d20cd77b0489f26dcdf852c0fe4b51861.tar.gz
CMake-9362400d20cd77b0489f26dcdf852c0fe4b51861.tar.bz2
Merge topic 'early-exit-loop'
c959725 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;
}
}