Add extsources to fmt (#1339)

* Add extsources to fmt

* Update xmake.lua

* Update xmake.lua

* Update xmake.lua
pull/1348/head
ImperatorS79 3 years ago committed by GitHub
parent 22e44ef3b7
commit 3ac1379235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      packages/f/fmt/xmake.lua

@ -14,12 +14,13 @@ package("fmt")
add_configs("header_only", {description = "Use header only version.", default = false, type = "boolean"})
if is_plat("macosx") then
add_extsources("brew::fmt")
end
if is_plat("linux") then
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::fmt")
elseif is_plat("linux") then
add_extsources("pacman::fmt", "apt::libfmt-dev")
elseif is_plat("macosx") then
add_extsources("brew::fmt")
end
on_load(function (package)

Loading…
Cancel
Save