add mingw support to cpptrace (#2910)

pull/2911/head
xpxz 1 year ago committed by GitHub
parent f0c92e3a6a
commit a58019eee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/c/cpptrace/xmake.lua

@ -20,7 +20,7 @@ package("cpptrace")
add_syslinks("dbghelp")
end
on_install("linux", "macosx", "windows", function (package)
on_install("linux", "macosx", "windows", "mingw", function (package)
local configs = {}
table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))

Loading…
Cancel
Save