mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-02 15:52:14 +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)
|
option(SLIC3R_ASAN "Enable ASan on Clang and GCC" 0)
|
||||||
|
|
||||||
# Sentry crash reporting - enabled only on Windows by default
|
# Sentry crash reporting - enabled only on Windows by default
|
||||||
if (WIN32)
|
if (WIN32 OR APPLE)
|
||||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
|
||||||
elseif (APPLE)
|
|
||||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
set(SLIC3R_SENTRY_DEFAULT OFF)
|
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()
|
endif()
|
||||||
|
|
||||||
# Sentry crash reporting - enabled only on Windows by default
|
# Sentry crash reporting - enabled only on Windows by default
|
||||||
if (WIN32)
|
if (WIN32 OR APPLE)
|
||||||
set(SLIC3R_SENTRY_DEFAULT ON)
|
set(SLIC3R_SENTRY_DEFAULT ON)
|
||||||
else()
|
else()
|
||||||
set(SLIC3R_SENTRY_DEFAULT OFF)
|
set(SLIC3R_SENTRY_DEFAULT OFF)
|
||||||
|
|||||||
Reference in New Issue
Block a user