mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-01 01:13:40 +00:00
Fix typo with SENTRY_DSN option name
This commit is contained in:
parent
c0a872ee51
commit
f54605e1ea
@ -79,7 +79,7 @@ set(CUSTOM_WEBSITE_URL "" CACHE STRING "Enable custom local webserver to check u
|
||||
|
||||
if(ENABLE_SENTRY)
|
||||
set(SENTRY_DIR "" CACHE STRING "Sentry native location")
|
||||
set(SENTRY_DNS "" CACHE STRING "Sentry DNS URL")
|
||||
set(SENTRY_DSN "" CACHE STRING "Sentry Data Source Name URL")
|
||||
endif()
|
||||
|
||||
if(ENABLE_NEWS OR ENABLE_UPDATER)
|
||||
|
@ -703,7 +703,7 @@ if(ENABLE_SENTRY)
|
||||
target_compile_definitions(app-lib PUBLIC
|
||||
-DENABLE_SENTRY
|
||||
-DSENTRY_BUILD_STATIC=1
|
||||
-DSENTRY_DNS="${SENTRY_DNS}")
|
||||
-DSENTRY_DSN="${SENTRY_DSN}")
|
||||
add_subdirectory(${SENTRY_DIR} sentry)
|
||||
target_link_libraries(app-lib sentry)
|
||||
endif()
|
||||
|
@ -26,7 +26,7 @@ std::string Sentry::m_dbdir;
|
||||
void Sentry::init()
|
||||
{
|
||||
sentry_options_t* options = sentry_options_new();
|
||||
sentry_options_set_dsn(options, SENTRY_DNS);
|
||||
sentry_options_set_dsn(options, SENTRY_DSN);
|
||||
|
||||
std::string release = "aseprite@";
|
||||
release += get_app_version();
|
||||
|
Loading…
x
Reference in New Issue
Block a user