diff --git a/packages/m/msgpack-cxx/xmake.lua b/packages/m/msgpack-cxx/xmake.lua index 8cea6113dbe..52f969557e2 100644 --- a/packages/m/msgpack-cxx/xmake.lua +++ b/packages/m/msgpack-cxx/xmake.lua @@ -14,9 +14,6 @@ package("msgpack-cxx") add_configs("boost", {description = "Use Boost", default = true, type = "boolean"}) on_load(function (package) - if package:config("header_only") then - package:set("kind", "library", {headeronly = true}) - else if not package:config("header_only") then package:add("deps", "cmake") end