drogon: fix redis build (#2823)

pull/2828/head
tashcan 1 year ago committed by GitHub
parent 0ebd3af257
commit 6008c7240b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/d/drogon/xmake.lua

@ -34,6 +34,7 @@ package("drogon")
add_configs("openssl", {description = "Enable openssl support.", default = true, type = "boolean"})
add_configs("postgresql", {description = "Enable postgresql support.", default = false, type = "boolean"})
add_configs("sqlite3", {description = "Enable sqlite3 support.", default = false, type = "boolean"})
add_configs("redis", {description = "Enable redis support.", default = false, type = "boolean"})
add_deps("cmake")
add_deps("trantor", "jsoncpp", "brotli", "zlib")
@ -52,7 +53,8 @@ package("drogon")
mysql = "mariadb-connector-c",
openssl = "openssl",
postgresql = "postgresql",
sqlite3 = "sqlite3"}
sqlite3 = "sqlite3",
redis = "hiredis"}
for name, dep in pairs(configdeps) do
if package:config(name) then

Loading…
Cancel
Save