Add extsources for utf8cpp (#3148)

pull/3160/head
ImperatorS79 1 year ago committed by GitHub
parent f97b2f979f
commit 4c33c16968
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      packages/u/utfcpp/xmake.lua

@ -17,7 +17,13 @@ package("utfcpp")
add_versions("v3.2.3", "3ba9b0dbbff08767bdffe8f03b10e596ca351228862722e4c9d4d126d2865250")
add_versions("v3.2.1", "8d6aa7d77ad0abb35bb6139cb9a33597ac4c5b33da6a004ae42429b8598c9605")
add_extsources("apt::libutfcpp-dev", "pacman::utf8cpp")
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::utf8cpp")
elseif is_plat("linux") then
add_extsources("apt::libutfcpp-dev", "pacman::utf8cpp")
elseif is_plat("macosx") then
add_extsources("brew::utf8cpp")
end
add_deps("cmake")

Loading…
Cancel
Save