Fixed breakdpad
This commit is contained in:
parent
dd57d86a9a
commit
10d18bac4b
@ -4,11 +4,10 @@ set(SOURCE_FILES ${SOURCE_FILES} src/crash_handler.cpp)
|
||||
if (MSVC)
|
||||
set(SOURCE_FILES ${SOURCE_FILES} src/win_crash_generator.cpp)
|
||||
else()
|
||||
include_directories(/usr/local/include/breakpad)
|
||||
resolve_library(LIBRARY_PATH_BREAKPAD OFF "${LIBRARY_PATH}/breakpad/build/src/client/linux/libbreakpad_client.a")
|
||||
find_package(Breakpad REQUIRED)
|
||||
|
||||
set(REQUIRED_LIBRARIES
|
||||
${LIBRARY_PATH_BREAKPAD}
|
||||
breakpad::static
|
||||
libstdc++fs.a
|
||||
)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user