浏览代码

Wrong place for fout

Berk Geveci 24 年之前
父节点
当前提交
238fe481f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmConfigureFileCommand.cxx

+ 1 - 1
Source/cmConfigureFileCommand.cxx

@@ -143,8 +143,8 @@ void cmConfigureFileCommand::FinalPass()
                                          "#cmakedefine", "#undef");
             }
           }
+        fout << inLine << "\n";
         }
-      fout << inLine << "\n";
       }
     // close the files before attempting to copy
     fin.close();