diff options
| author | Stefan Boberg <[email protected]> | 2026-03-15 22:53:37 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2026-03-15 22:53:37 +0100 |
| commit | da216166aab918bc93ee73040c1eb6336ea6d026 (patch) | |
| tree | 87263e1e70d975c640981a50474290cdad1382cc /src/zenhttp/xmake.lua | |
| parent | Change --noclean to --clean in toolchain verify script (diff) | |
| parent | Merge branch 'main' into sb/linux-build-improvements (diff) | |
| download | zen-sb/linux-build-improvements.tar.xz zen-sb/linux-build-improvements.zip | |
Merge branch 'sb/linux-build-improvements' of ssh://arn-wd-l1704.localdomain:2222/ue-foundation/zen into sb/linux-build-improvementssb/linux-build-improvements
Diffstat (limited to 'src/zenhttp/xmake.lua')
| -rw-r--r-- | src/zenhttp/xmake.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/zenhttp/xmake.lua b/src/zenhttp/xmake.lua index 9b461662e..b4c65ea96 100644 --- a/src/zenhttp/xmake.lua +++ b/src/zenhttp/xmake.lua @@ -8,7 +8,12 @@ target('zenhttp') add_files("servers/httpsys.cpp", {unity_ignored=true}) add_files("servers/wshttpsys.cpp", {unity_ignored=true}) add_includedirs("include", {public=true}) - add_deps("zencore", "zentelemetry", "transport-sdk", "asio", "cpr") + add_deps("zencore", "zentelemetry", "transport-sdk", "asio") + if has_config("zencpr") then + add_deps("cpr") + else + remove_files("clients/httpclientcpr.cpp") + end add_packages("http_parser", "json11") add_options("httpsys") |