mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-11 14:33:04 +00:00
feature set the sentry sdk flags.
This commit is contained in:
@@ -101,9 +101,7 @@ option(SLIC3R_PERL_XS "Compile XS Perl module and enable Perl unit and
|
||||
option(SLIC3R_ASAN "Enable ASan on Clang and GCC" 0)
|
||||
|
||||
# Sentry crash reporting - enabled only on Windows by default
|
||||
if (WIN32)
|
||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||
elseif (APPLE)
|
||||
if (WIN32 OR APPLE)
|
||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||
else()
|
||||
set(SLIC3R_SENTRY_DEFAULT OFF)
|
||||
|
||||
2
deps/CMakeLists.txt
vendored
2
deps/CMakeLists.txt
vendored
@@ -63,7 +63,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
endif()
|
||||
|
||||
# Sentry crash reporting - enabled only on Windows by default
|
||||
if (WIN32)
|
||||
if (WIN32 OR APPLE)
|
||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||
else()
|
||||
set(SLIC3R_SENTRY_DEFAULT OFF)
|
||||
|
||||
Reference in New Issue
Block a user