disable testing for libogg

pull/288/head
ruki 4 years ago
parent ac35632a9e
commit 8e1cc95342
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/l/libogg/xmake.lua

@ -14,7 +14,7 @@ package("libogg")
end
on_install("windows", "macosx", "linux", "mingw", "iphoneos", "android", "cross", function (package)
local configs = {}
local configs = {"-DBUILD_TESTING=OFF"}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
table.insert(configs, "-DCMAKE_POSITION_INDEPENDENT_CODE=ON")

Loading…
Cancel
Save