forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sentry-native: Use patch from getsentry/sentry-native#816 instead
- Loading branch information
Showing
3 changed files
with
38 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
recipes/sentry-native/all/patches/crashpad-wer-support.patch
This file was deleted.
Oops, something went wrong.
35 changes: 35 additions & 0 deletions
35
recipes/sentry-native/all/patches/sentry-native-903c17a.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
From 903c17ae20888679caab1871cc74de577509452e Mon Sep 17 00:00:00 2001 | ||
From: Cyriuz <Cyriuz@users.noreply.github.com> | ||
Date: Mon, 13 Mar 2023 14:55:26 +0100 | ||
Subject: [PATCH] Allow setting CRASHPAD_WER_ENABLED when using system crashpad | ||
(#816) | ||
|
||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 831e8e1..aeea09f 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -426,8 +426,9 @@ if(SENTRY_BACKEND_CRASHPAD) | ||
set(CRASHPAD_ENABLE_INSTALL ON CACHE BOOL "Enable crashpad installation" FORCE) | ||
endif() | ||
add_subdirectory(external/crashpad crashpad_build) | ||
+ | ||
if(CRASHPAD_WER_ENABLED) | ||
- add_compile_definitions(CRASHPAD_WER_ENABLED) | ||
+ add_dependencies(sentry crashpad::wer) | ||
endif() | ||
|
||
# set static runtime if enabled | ||
@@ -482,8 +483,9 @@ if(SENTRY_BACKEND_CRASHPAD) | ||
endif() | ||
endif() | ||
add_dependencies(sentry crashpad::handler) | ||
+ | ||
if(CRASHPAD_WER_ENABLED) | ||
- add_dependencies(sentry crashpad::wer) | ||
+ add_compile_definitions(CRASHPAD_WER_ENABLED) | ||
endif() | ||
elseif(SENTRY_BACKEND_BREAKPAD) | ||
option(SENTRY_BREAKPAD_SYSTEM "Use system breakpad" OFF) | ||
-- | ||
2.39.1.windows.1 | ||
|