spdlog: fix installation test on Linux (#2617)

pull/2619/head
KkemChen 1 year ago committed by GitHub
parent ac79ccde7e
commit aa1c253e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/s/spdlog/xmake.lua

@ -30,6 +30,8 @@ package("spdlog")
if is_plat("windows") then
add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
add_configs("wchar", {description = "Support wchar api.", default = false, type = "boolean"})
elseif is_plat("linux", "bsd") then
add_syslinks("pthread")
end
on_load(function (package)

Loading…
Cancel
Save