diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-24 03:50:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-24 03:50:36 +0100 |
commit | 49d36e9793573ab563c841fc0aebeb7d62c58859 (patch) | |
tree | 50d229047e5c5fa392945a459bfcd4c09b3d66cc /dev-libs/sentry-native/files/sentry-native-0.6.5_cmake-breakpad.patch | |
parent | ce80202cfcf7f0dcb80e055eba3f6475232a5961 (diff) |
gentoo auto-resync : 24:08:2023 - 03:50:35
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() |