Disable linking to sentry for now, due to a bug
Discovered na upstream issue in sentry-native’s exported CMake targets, at least on macOS. Disabling until I hear back from them.
This commit is contained in:
parent
785436abf4
commit
f5b04684cf
1 changed files with 5 additions and 4 deletions
|
@ -110,16 +110,17 @@ else()
|
|||
endif()
|
||||
|
||||
if (TARGET sentry::sentry)
|
||||
target_link_libraries(fgfs sentry::sentry)
|
||||
# disabling this for now until Sentry-native fixes their CMake export :)
|
||||
# target_link_libraries(fgfs sentry::sentry)
|
||||
endif()
|
||||
|
||||
if (TARGET sentry::crashpad)
|
||||
if (TARGET sentry_crashpad::handler)
|
||||
if (APPLE)
|
||||
# install inside the bundle
|
||||
install(FILES $<TARGET_FILE:sentry::crashpad_handler> DESTINATION fgfs.app/Contents/MacOS OPTIONAL)
|
||||
install(FILES $<TARGET_FILE:sentry_crashpad::handler> DESTINATION fgfs.app/Contents/MacOS OPTIONAL)
|
||||
else()
|
||||
# install in the bin-dir, next to the application binary
|
||||
install(FILES $<TARGET_FILE:sentry::crashpad_handler> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
|
||||
install(FILES $<TARGET_FILE:sentry_crashpad::handler> DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue