Skip to content

Commit

Permalink
make cpr support cross
Browse files Browse the repository at this point in the history
  • Loading branch information
heheda123123 authored Jul 12, 2024
1 parent e676808 commit 555bda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/c/cpr/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ package("cpr")
end
end)

on_install("linux", "macosx", "windows", "mingw@windows", function (package)
on_install("linux", "macosx", "windows", "mingw@windows", "cross", function (package)
local configs = {"-DCPR_BUILD_TESTS=OFF",
"-DCPR_FORCE_USE_SYSTEM_CURL=ON",
"-DCPR_USE_SYSTEM_CURL=ON"}
Expand Down

0 comments on commit 555bda2

Please sign in to comment.