fix: breakpad use miniz
Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
This commit is contained in:
4
third_party/breakpad/CMakeLists.txt
vendored
4
third_party/breakpad/CMakeLists.txt
vendored
@@ -8,6 +8,7 @@ set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
add_library(
|
||||
breakpad-common STATIC
|
||||
src/third_party/miniz/miniz.c
|
||||
src/common/linux/breakpad_getcontext.S
|
||||
src/common/dwarf_range_list_handler.cc
|
||||
src/common/stabs_to_module.cc
|
||||
@@ -109,7 +110,8 @@ add_library(
|
||||
src/client/minidump_file_writer.cc)
|
||||
|
||||
target_include_directories(breakpad-common PUBLIC src/)
|
||||
target_link_libraries(breakpad-common PRIVATE z)
|
||||
find_package(Threads REQUIRED)
|
||||
target_link_libraries(breakpad-common PRIVATE Threads::Threads)
|
||||
|
||||
target_include_directories(breakpad PUBLIC src/)
|
||||
target_link_libraries(breakpad PRIVATE breakpad-common)
|
||||
|
Reference in New Issue
Block a user