Skip to content

Commit eb7e0a1

Browse files
committed
breakpad: fix linking on Linux
1 parent a863092 commit eb7e0a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,7 @@ if (USE_BREAKPAD)
836836
elseif (LINUX)
837837
add_library(srclibs-breakpad EXCLUDE_FROM_ALL ${BREAKPAD_LIST})
838838
set_target_properties(srclibs-breakpad PROPERTIES POSITION_INDEPENDENT_CODE 1 FOLDER "libs")
839+
target_compile_definitions(srclibs-breakpad PUBLIC HAVE_GETCONTEXT=1)
839840
set(LIBS_ENGINE ${LIBS_ENGINE} srclibs-breakpad)
840841

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

0 commit comments

Comments
 (0)