improve libpng

pull/15/head
ruki 6 years ago
parent eed947d701
commit 72386c9a31
No known key found for this signature in database
GPG Key ID: 33341DF9719963FA
  1. 2
      packages/l/libpng/xmake.lua

@ -22,7 +22,7 @@ package("libpng")
on_install("windows", function (package)
local configs = {"-DPNG_TESTS=OFF",
"-DPNG_SHARED=OFF",
"-DPNG_DEBUG=" .. package:debug() and "ON" or "OFF"}
"-DPNG_DEBUG=" .. (package:debug() and "ON" or "OFF")}
import("package.tools.cmake").install(package, configs)
end)

Loading…
Cancel
Save