Browse Source

fix libigl syslinks (#1393)

Hoildkv 3 years ago
parent
commit
7d7e31d95d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      packages/l/libigl/xmake.lua

+ 2 - 0
packages/l/libigl/xmake.lua

@@ -18,6 +18,8 @@ package("libigl")
 
     if is_plat("windows") then
         add_syslinks("comdlg32")
+    elseif is_plat("linux") then
+        add_syslinks("pthread")
     end
 
     add_deps("cmake", "eigen")