improve jpeg (#3484)

* improve jpeg

* improve jpeg pc name
pull/3485/head
ruki 9 months ago committed by GitHub
parent 6cf5ad4a15
commit 91d74fb624
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/l/libjpeg/xmake.lua

@ -11,6 +11,12 @@ package("libjpeg")
add_configs("headeronly", {description = "Install headerfiles only.", default = false, type = "boolean"})
if is_plat("linux") then
add_extsources("apt::libjpeg-dev")
elseif is_plat("macosx") then
add_extsources("brew::jpeg/libjpeg")
end
on_install(function (package)
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")

Loading…
Cancel
Save