Parcourir la source

improve tclap

ruki il y a 4 ans
Parent
commit
fcaa1401f2
1 fichiers modifiés avec 2 ajouts et 4 suppressions
  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)