Browse Source

improve libpng

ruki 6 years ago
parent
commit
72386c9a31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/l/libpng/xmake.lua

+ 1 - 1
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)