Update xmake.lua

pull/536/head
ruki 4 years ago committed by GitHub
parent d1c3a87994
commit 90a1ce57f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      packages/l/libjpeg-turbo/xmake.lua

@ -13,11 +13,16 @@ package("libjpeg-turbo")
add_configs("jpeg", {description = "libjpeg API/ABI emulation target version.", default = "6", type = "string", values = {"6", "7", "8"}})
add_deps("cmake", "nasm")
if is_subhost("windows") and is_plat("android") then
add_deps("make")
end
on_load(function (package)
if not package.is_built or package:is_built() then
package:add("deps", "cmake", "nasm")
end
end)
on_install("windows", "linux", "macosx", "android", function (package)
local configs = {}
local jpeg = package:config("jpeg")

Loading…
Cancel
Save