aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-11-13 16:13:42 +0100
committerGitHub <[email protected]>2023-11-13 16:13:42 +0100
commit47c6dc2da58cc8e889c5e59daa3c785fb9455918 (patch)
tree94de6cbb7194f765113443bd329475ed5cf8deda /src/zenhttp/xmake.lua
parentfmt compilation fix for fmt v10+new vs build (#529) (diff)
downloadzen-47c6dc2da58cc8e889c5e59daa3c785fb9455918.tar.xz
zen-47c6dc2da58cc8e889c5e59daa3c785fb9455918.zip
package dependency clean-ups (#531)
this change just cleans up dependency declarations in xmake.lua files, discovered while exploring a more to xrepo which catches dependency problems since it will not just place all includes in a single directory, unlike vcpkg. * removed spurious asio dependency from zenserver-test * removed rocksdb reference * add missing asio package dependency * removed catch2 reference (no longer available) * added explicit cpr reference * made some zencore package dependencies public (this is necessary because some public zencore headers pull in package headers. If you use a more strict package manager than vcpkg then you get compilation errors whenever these includes are pulled in unless you declare the dependency explicitly)
Diffstat (limited to 'src/zenhttp/xmake.lua')
-rw-r--r--src/zenhttp/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenhttp/xmake.lua b/src/zenhttp/xmake.lua
index e90fdfd1c..b6ffbe467 100644
--- a/src/zenhttp/xmake.lua
+++ b/src/zenhttp/xmake.lua
@@ -9,13 +9,13 @@ target('zenhttp')
add_includedirs("include", {public=true})
add_deps("zencore", "transport-sdk")
add_packages(
+ "vcpkg::asio",
"vcpkg::cpr",
"vcpkg::curl", -- required by cpr
"vcpkg::openssl", -- required by curl
"vcpkg::zlib", -- required by curl
"vcpkg::gsl-lite",
- "vcpkg::http-parser",
- "vcpkg::cpr"
+ "vcpkg::http-parser"
)
add_options("httpsys")