add breakpad support on linux
This commit is contained in:
@ -126,6 +126,16 @@ target_sources(tomato PUBLIC
|
||||
./debug_video_tap.cpp
|
||||
)
|
||||
|
||||
if (TOMATO_BREAKPAD)
|
||||
target_sources(tomato PUBLIC
|
||||
./breakpad_client.hpp
|
||||
./breakpad_client.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(tomato PUBLIC breakpad_client)
|
||||
target_compile_definitions(tomato PUBLIC TOMATO_BREAKPAD)
|
||||
endif()
|
||||
|
||||
if (TOMATO_TOX_AV)
|
||||
target_sources(tomato PUBLIC
|
||||
./tox_av.hpp
|
||||
@ -167,9 +177,6 @@ target_link_libraries(tomato PUBLIC
|
||||
SDL3_image::SDL3_image
|
||||
)
|
||||
|
||||
# probably not enough
|
||||
#target_compile_definitions(tomato PUBLIC ENTT_API_EXPORT)
|
||||
|
||||
set_target_properties(tomato PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
########################################
|
||||
|
Reference in New Issue
Block a user