Skip to content

Commit

Permalink
separate crashpad gzip choice
Browse files Browse the repository at this point in the history
  • Loading branch information
Strive-Sun committed Mar 21, 2024
1 parent 9bec2cb commit 282100f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,6 @@ if(SENTRY_TRANSPORT_COMPRESSION)
find_package(ZLIB REQUIRED)
endif()

if(SENTRY_BACKEND_CRASHPAD)
set(CRASHPAD_ZLIB_SYSTEM ON CACHE BOOL "Force CRASHPAD_ZLIB_SYSTEM when enabling transport compression" FORCE)
endif()

target_link_libraries(sentry PRIVATE ZLIB::ZLIB)
target_compile_definitions(sentry PRIVATE SENTRY_TRANSPORT_COMPRESSION)
endif()
Expand Down

0 comments on commit 282100f

Please sign in to comment.