Browse Source

fix libpng

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

+ 1 - 0
packages/l/libpng/xmake.lua

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