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)
|
if (MSVC)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} src/win_crash_generator.cpp)
|
set(SOURCE_FILES ${SOURCE_FILES} src/win_crash_generator.cpp)
|
||||||
else()
|
else()
|
||||||
include_directories(/usr/local/include/breakpad)
|
find_package(Breakpad REQUIRED)
|
||||||
resolve_library(LIBRARY_PATH_BREAKPAD OFF "${LIBRARY_PATH}/breakpad/build/src/client/linux/libbreakpad_client.a")
|
|
||||||
|
|
||||||
set(REQUIRED_LIBRARIES
|
set(REQUIRED_LIBRARIES
|
||||||
${LIBRARY_PATH_BREAKPAD}
|
breakpad::static
|
||||||
libstdc++fs.a
|
libstdc++fs.a
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user