diff options
Diffstat (limited to 'dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch')
-rw-r--r-- | dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch b/dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch new file mode 100644 index 000000000000..cd54813c3528 --- /dev/null +++ b/dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch @@ -0,0 +1,14 @@ +--- a/sentry-config.cmake.in ++++ b/sentry-config.cmake.in +@@ -3,7 +3,10 @@ + set(SENTRY_BACKEND @SENTRY_BACKEND@) + set(SENTRY_TRANSPORT @SENTRY_TRANSPORT@) + +-if(SENTRY_BACKEND STREQUAL "crashpad") ++if(SENTRY_BACKEND STREQUAL "breakpad") ++ find_package(PkgConfig REQUIRED) ++ pkg_check_modules(BREAKPAD REQUIRED IMPORTED_TARGET breakpad-client) ++elseif(SENTRY_BACKEND STREQUAL "crashpad") + if(@SENTRY_CRASHPAD_SYSTEM@) + find_package(crashpad REQUIRED) + else() |