Skip to content

Commit f6bc547

Browse files
committed
breakpad: fix linking on Linux
1 parent cba1c65 commit f6bc547

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ if (USE_BREAKPAD)
784784
elseif (LINUX)
785785
add_library(srclibs-breakpad EXCLUDE_FROM_ALL ${BREAKPAD_LIST})
786786
set_target_properties(srclibs-breakpad PROPERTIES POSITION_INDEPENDENT_CODE 1 FOLDER "libs")
787+
target_compile_definitions(srclibs-breakpad PUBLIC HAVE_GETCONTEXT=1)
787788
set(LIBS_ENGINE ${LIBS_ENGINE} srclibs-breakpad)
788789

789790
add_executable(crash_server src/engine/crash_server/crash_server_linux.cpp)

0 commit comments

Comments
 (0)