瀏覽代碼

improve tclap

ruki 4 年之前
父節點
當前提交
fcaa1401f2
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      packages/t/tclap/xmake.lua

+ 2 - 4
packages/t/tclap/xmake.lua

@@ -12,9 +12,7 @@ package("tclap")
         io.replace("CMakeLists.txt", "add_subdirectory(docs)", "", {plain = true})
         io.replace("CMakeLists.txt", "add_subdirectory(examples)", "", {plain = true})
         io.replace("CMakeLists.txt", "add_subdirectory(tests)", "", {plain = true})
-
-        local configs = {}
-        import("package.tools.cmake").install(package, configs)
+        import("package.tools.cmake").install(package)
     end)
 
     on_test(function (package)
@@ -24,4 +22,4 @@ package("tclap")
                 TCLAP::CmdLine cmd("Test", ' ', "0.9");
             }
         ]]}, {configs = {languages = "c++98"}}))
-    end)
+    end)