Compile breakpad_client with -Wno-array-bounds

This commit is contained in:
Luke Street 2021-04-05 13:25:40 -04:00
parent fd343eb234
commit 240491ccad
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ else ()
set(SENTRY_LIB sentry)
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(BREAKPAD_CLIENT breakpad_client)
target_compile_options(breakpad_client PRIVATE "-Wno-implicit-fallthrough")
target_compile_options(breakpad_client PRIVATE -Wno-implicit-fallthrough -Wno-array-bounds)
target_compile_options(sentry PRIVATE "-Wno-implicit-fallthrough")
set_property(TARGET breakpad_client PROPERTY CXX_STANDARD 17)
set_property(TARGET sentry PROPERTY CXX_STANDARD 17)