Explorar o código

enable yaml-cpp on mingw (#484)

Shiwei Wang %!s(int64=4) %!d(string=hai) anos
pai
achega
5aab43ef60
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/y/yaml-cpp/xmake.lua

+ 1 - 1
packages/y/yaml-cpp/xmake.lua

@@ -8,7 +8,7 @@ package("yaml-cpp")
     add_versions("0.6.3", "77ea1b90b3718aa0c324207cb29418f5bced2354c2e483a9523d98c3460af1ed")
 
     add_deps("cmake")
-    on_install("windows", "linux", "macosx", function (package)
+    on_install("windows", "linux", "macosx", "mingw", function (package)
         local configs = {"-DYAML_CPP_BUILD_TESTS=OFF"}
         table.insert(configs, "-DYAML_BUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         if package:is_plat("windows") then