diff --git a/CMakeLists.txt b/CMakeLists.txt index c43dec8756..cc83da3582 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/deps/CMakeLists.txt b/deps/CMakeLists.txt index de9fae0bc5..4b0d02d2a8 100644 --- a/deps/CMakeLists.txt +++ b/deps/CMakeLists.txt @@ -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)