feature add flag for control sentry to use

This commit is contained in:
alves
2025-12-03 12:13:28 +08:00
parent 990137bab0
commit e874089831
3 changed files with 42 additions and 18 deletions

2
deps/CMakeLists.txt vendored
View File

@@ -315,7 +315,7 @@ if (NOT OPENSSL_FOUND OR NOT CURL_FOUND)
endif ()
set(SENTRY_PKG "")
if (NOT SENTRY_FOUND)
if (SLIC3R_SENTRY AND NOT SENTRY_FOUND)
include(Sentry/Sentry.cmake)
set(SENTRY_PKG dep_Sentry)
endif()