Skip to content

Commit

Permalink
msgpack-cxx: add package:set("kind", "library", {headeronly = true})
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed Jul 14, 2024
1 parent 600e362 commit db0f2b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/m/msgpack-cxx/xmake.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
package("msgpack-cxx")
set_kind("library", {headeronly = true})
set_homepage("https://msgpack.org/")
set_description("MessagePack implementation for C++")
set_license("BSL-1.0")
Expand All @@ -22,6 +21,9 @@ package("msgpack-cxx")
else
package:add("defines", "MSGPACK_NO_BOOST")
end
if not (package:config("boost") and not package:config("header_only")) then
package:set("kind", "library", {headeronly = true})
end
end)

on_install(function (package)
Expand Down

0 comments on commit db0f2b8

Please sign in to comment.