From 4737c84fb8507a35f6adc6d655464c4f9e622e1f Mon Sep 17 00:00:00 2001 From: Inari0 <42310255+xq114@users.noreply.github.com> Date: Fri, 16 Aug 2024 17:40:56 +0800 Subject: [PATCH] fix libigl links not found (#4952) --- packages/l/libigl/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/l/libigl/xmake.lua b/packages/l/libigl/xmake.lua index 498d31b19..4546f120a 100644 --- a/packages/l/libigl/xmake.lua +++ b/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