Browse Source

Exit the loop when we have determined the language.

Stephen Kelly 14 năm trước cách đây
mục cha
commit
c9597259ea
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 1 - 0
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -232,6 +232,7 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile()
       if(ei->Language == "C" || ei->Language == "CXX")
         {
         lang_is_c_or_cxx = true;
+        break;
         }
       }