Skip to content

Commit

Permalink
fix: disable superflous warnings in the NDK build
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus committed Nov 20, 2024
1 parent 50fcdc6 commit ee58739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ add_library(unwindstack STATIC
)
target_link_libraries(unwindstack log)
set_property(TARGET unwindstack PROPERTY CXX_STANDARD 17)
target_compile_options(unwindstack PRIVATE -Wno-c99-designator -Wno-reorder-init-list)

if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(unwindstack PRIVATE $<BUILD_INTERFACE:-Wno-unknown-attributes>)
Expand Down

0 comments on commit ee58739

Please sign in to comment.