From b2ecf39749b68a7fc4a1e3759f22d4081ca4f18d Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 28 Jul 2021 13:49:01 +0100 Subject: [PATCH] Add the Sentry ingest key. --- CMakeLists.txt | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0feee4482..220c3e557 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -271,14 +271,10 @@ find_package(OpenSceneGraph 3.6.0 REQUIRED 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 (NOT sentry_api_key) - message(STATUS "Sentry.io crash reporting detected, but FLIGHTGEAR_SENTRY_API_KEY not set") - else() - message(STATUS "Sentry.io crash reporting enabled") - set(HAVE_SENTRY 1) - endif() + message(STATUS "Sentry.io crash reporting enabled") + set(HAVE_SENTRY 1) endif() ##############################################################################