mirror of
https://github.com/prusa3d/PrusaSlicer.git
synced 2026-11-26 23:29:07 +00:00
A SlicingError is handled and presented to the user as invalid data. Any other exception is caught, stacktrace logged and re-raised on the main thread with the expectation of the program shutting down gracefully.
10 lines
407 B
CMake
10 lines
407 B
CMake
add_cmake_project(cpptrace
|
|
URL "https://github.com/jeremy-rifkin/cpptrace/archive/refs/tags/v1.0.4.zip"
|
|
URL_HASH SHA256=3fca735735cd74d646833f86112223f8aceb965055c8f96686a41d85948b50ba
|
|
PATCH_COMMAND ${PATCH_CMD} ${CMAKE_CURRENT_LIST_DIR}/cpptrace.patch
|
|
CMAKE_ARGS
|
|
-DCPPTRACE_USE_EXTERNAL_ZSTD=ON
|
|
-DCPPTRACE_USE_EXTERNAL_LIBDWARF=ON
|
|
)
|
|
|
|
set(DEP_cpptrace_DEPENDS zstd libdwarf)
|