aboutsummaryrefslogtreecommitdiff
path: root/ports/sentry-native/use-zlib-target.patch
blob: d4b3dfca33359b83afda04f02d01a7878f6fe4ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/external/crashpad/CMakeLists.txt b/external/crashpad/CMakeLists.txt
index abb0697..a57ff04 100644
--- a/external/crashpad/CMakeLists.txt
+++ b/external/crashpad/CMakeLists.txt
@@ -22,6 +22,7 @@ option(CRASHPAD_ZLIB_SYSTEM "Use system zlib library" "${CRASHPAD_ZLIB_SYSTEM_DE
 
 if(CRASHPAD_ZLIB_SYSTEM)
     find_package(ZLIB REQUIRED)
+    set(ZLIB_LIBRARIES ZLIB::ZLIB)
 endif()
 
 if(LINUX OR ANDROID)