Andy Cedilnik 23 年之前
父节点
当前提交
576a490daa
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      Source/cmaketest.cxx

+ 1 - 2
Source/cmaketest.cxx

@@ -123,9 +123,8 @@ int main (int argc, char **argv)
     }
   std::cout << "Done Generating build files.\n";
 
-  cmake cm2;
   std::cout << "Generating build files (again)...\n";
-  if (cm2.Run(args) != 0)
+  if (cm.Run(args) != 0)
     {
     std::cerr << "Error: cmake execution failed\n";
     // return to the original directory