disable sqlite3 if not installed as it's optional (#418)

pull/421/head
Ashley 4 years ago committed by GitHub
parent c677a0cfb7
commit dd076c9aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/d/drogon/xmake.lua

@ -39,6 +39,9 @@ package("drogon")
if not package:dep("postgresql"):fetch() then
table.insert(configs, "-DBUILD_POSTGRESQL=OFF")
end
if not package:dep("sqlite3"):fetch() then
table.insert(configs, "-DBUILD_SQLITE=OFF")
end
if package:config("pic") ~= false then
table.insert(configs, "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")
end

Loading…
Cancel
Save