Skip to content

Commit

Permalink
Add extsources for utf8cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorS79 authored Jan 22, 2024
1 parent ca551c2 commit c98491b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/u/utfcpp/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit c98491b

Please sign in to comment.