Explorar o código

fix libigl links not found (#4952)

Inari0 hai 1 ano
pai
achega
4737c84fb8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      packages/l/libigl/xmake.lua

+ 3 - 1
packages/l/libigl/xmake.lua

@@ -26,7 +26,9 @@ package("libigl")
 
     add_deps("cmake", "eigen")
     on_load("macosx", "linux", "windows", "mingw", function (package)
-        if not package:config("header_only") then
+        if package:config("header_only") then
+            package:set("kind", "library", {headeronly = true})
+        else
             raise("Non-header-only version is not supported yet!")
         end
         if package:config("cgal") then