소스 검색

improve taskflow

ruki 6 년 전
부모
커밋
097fa239c1
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      packages/c/cpp-taskflow/xmake.lua

+ 2 - 4
packages/c/cpp-taskflow/xmake.lua

@@ -7,16 +7,14 @@ package("cpp-taskflow")
     add_urls("https://github.com/cpp-taskflow/cpp-taskflow/archive/v$(version).zip")
     add_versions("2.2.0", "6b3c3b083e6e93a988cebc8bbf794a78f61904efab21f1e3a667b3cf60d58ca2")
 
-    add_deps("cmake")
-
     on_install(function (package)
-        import("package.tools.cmake").install(package)
+        os.cp("taskflow", package:installdir("include"))
     end)
 
     on_test(function (package)
         assert(package:check_cxxsnippets({test = [[
             #include <assert.h>
-            static void test(){
+            static void test() {
                 tf::Executor executor;
                 tf::Taskflow taskflow;
                 std::vector<int> range(10);