Browse Source

amgcl: use boost cmake

star9029 2 days ago
parent
commit
b1cae33604
1 changed files with 8 additions and 1 deletions
  1. 8 1
      packages/a/amgcl/xmake.lua

+ 8 - 1
packages/a/amgcl/xmake.lua

@@ -13,7 +13,14 @@ package("amgcl")
     add_versions("1.4.4", "02fd5418e14d669422f65fc739ce72bf9516ced2d8942574d4b8caa05dda9d8c")
 
     add_deps("cmake")
-    add_deps("boost", {configs = {cmake = false, serialization = true, program_options = true}})
+    add_deps("boost", {configs = {
+        cmake = true,
+        serialization = true,
+        program_options = true,
+        container = true,
+        regex = true,
+        thread = true,
+    }})
 
     on_install("windows", "mingw", "macosx", "linux", function (package)
         io.replace("CMakeLists.txt", "cmake_policy(SET CMP0058 OLD)", "", {plain = true})