Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions deps/sentry-native.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ package("sentry-native")
end)

on_install("windows|x86", "windows|x64", "linux", "macosx|x86_64", function (package) -- TODO: to enable android you will need to figure out the order of libs
-- Patch out -Werror to fix build with newer clang versions (22+)
local sourcedir = path.join(package:cachedir(), "source")
io.replace(path.join(sourcedir, "CMakeLists.txt"), "-Werror", "", {plain = true})

local opt = {}
local configs = {}
table.insert(configs, "-DSENTRY_BUILD_EXAMPLES=OFF")
Expand Down
Loading