1
0
Fork 0

Add the Sentry ingest key.

This commit is contained in:
James Turner 2021-07-28 13:49:01 +01:00
parent ce237e4a74
commit b2ecf39749

View file

@ -271,14 +271,10 @@ find_package(OpenSceneGraph 3.6.0 REQUIRED
find_package(sentry QUIET) find_package(sentry QUIET)
set(sentry_api_key $ENV{FLIGHTGEAR_SENTRY_API_KEY}) set(sentry_api_key "https://b10d9504e71244a7a86ba6c93acf6412@o372956.ingest.sentry.io/5188535")
if (TARGET sentry::sentry) if (TARGET sentry::sentry)
if (NOT sentry_api_key) message(STATUS "Sentry.io crash reporting enabled")
message(STATUS "Sentry.io crash reporting detected, but FLIGHTGEAR_SENTRY_API_KEY not set") set(HAVE_SENTRY 1)
else()
message(STATUS "Sentry.io crash reporting enabled")
set(HAVE_SENTRY 1)
endif()
endif() endif()
############################################################################## ##############################################################################