Skip to content

Commit

Permalink
fix: fix https support.
Browse files Browse the repository at this point in the history
  • Loading branch information
epicbigcat committed Dec 15, 2024
1 parent 30c0d84 commit 4ff930c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xmake.lua
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
add_rules('mode.debug', 'mode.release')

if is_plat('linux') then
if is_plat('linux', 'macosx') then
set_toolchains('zig')
add_requireconfs('**', { system = false })
end

add_requires('argparse 3.1')
add_requires('spdlog 1.14.1')
add_requires('nlohmann_json 3.11.3')
add_requires('cpr 1.11.1')
add_requires('cpr 1.11.1', {configs = {ssl = true}})

add_requireconfs('cpr.libcurl', {configs = {openssl = true}})

target('allay')
set_kind('binary')
Expand Down

0 comments on commit 4ff930c

Please sign in to comment.