|
@@ -11,7 +11,7 @@ package("pugixml")
|
|
|
|
|
|
add_deps("cmake")
|
|
|
|
|
|
- on_install("windows", "linux", "macosx", function (package)
|
|
|
+ on_install("windows", "linux", "macosx", "mingw", function (package)
|
|
|
local configs = {}
|
|
|
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:debug() and "Debug" or "Release"))
|
|
|
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
|