CrashHandler: Use libbacktrace

This commit is contained in:
Stenzek
2023-09-05 20:33:54 +10:00
parent d366697141
commit 7b068b976b
5 changed files with 320 additions and 84 deletions

View File

@ -76,6 +76,10 @@ if(USE_SDL2)
endif()
if(NOT WIN32 AND NOT ANDROID)
find_package(CURL REQUIRED)
find_package(Libbacktrace)
if(NOT LIBBACKTRACE_FOUND)
message(WARNING "libbacktrace not found, crashes will not produce backtraces.")
endif()
endif()
if(BUILD_QT_FRONTEND)
find_package(Qt6 6.5.1 COMPONENTS Core Gui Widgets Network LinguistTools REQUIRED)