From f5b04684cf7e81a9469df06057d253981fe42ab3 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 8 Apr 2020 16:07:31 +0100 Subject: [PATCH] Disable linking to sentry for now, due to a bug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Discovered na upstream issue in sentry-native’s exported CMake targets, at least on macOS. Disabling until I hear back from them. --- src/Main/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Main/CMakeLists.txt b/src/Main/CMakeLists.txt index b2b44956c..fad846170 100644 --- a/src/Main/CMakeLists.txt +++ b/src/Main/CMakeLists.txt @@ -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 $ DESTINATION fgfs.app/Contents/MacOS OPTIONAL) + install(FILES $ DESTINATION fgfs.app/Contents/MacOS OPTIONAL) else() # install in the bin-dir, next to the application binary - install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL) + install(FILES $ DESTINATION ${CMAKE_INSTALL_BINDIR} OPTIONAL) endif() endif()