mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-26 17:41:09 +08:00
[sentry-native] update to 0.7.7 (#40103)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
8a0e211035
commit
f79819d788
@ -1,21 +0,0 @@
|
||||
diff --git a/sentry-config.cmake.in b/sentry-config.cmake.in
|
||||
index 70ce7d3..796d428 100644
|
||||
--- a/sentry-config.cmake.in
|
||||
+++ b/sentry-config.cmake.in
|
||||
@@ -9,7 +9,7 @@ set(SENTRY_LINK_PTHREAD @SENTRY_LINK_PTHREAD@)
|
||||
|
||||
if(SENTRY_BACKEND STREQUAL "crashpad")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/sentry_crashpad-targets.cmake")
|
||||
- if(NOT MSVC AND NOT SENTRY_BUILD_SHARED_LIBS)
|
||||
+ if(NOT SENTRY_BUILD_SHARED_LIBS)
|
||||
find_dependency(ZLIB REQUIRED)
|
||||
endif()
|
||||
endif()
|
||||
@@ -23,7 +23,5 @@ endif()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/sentry-targets.cmake")
|
||||
|
||||
if(SENTRY_TRANSPORT STREQUAL "curl" AND (NOT @BUILD_SHARED_LIBS@ OR NOT SENTRY_BUILD_SHARED_LIBS))
|
||||
find_dependency(CURL REQUIRED)
|
||||
- set_property(TARGET sentry::sentry APPEND
|
||||
- PROPERTY INTERFACE_LINK_LIBRARIES ${CURL_LIBRARIES})
|
||||
endif()
|
@ -1,33 +0,0 @@
|
||||
diff --git a/sentry-config.cmake.in b/sentry-config.cmake.in
|
||||
index 1e3871f..e38b0c7 100644
|
||||
--- a/sentry-config.cmake.in
|
||||
+++ b/sentry-config.cmake.in
|
||||
@@ -9,14 +9,14 @@ set(SENTRY_LINK_PTHREAD @SENTRY_LINK_PTHREAD@)
|
||||
if(SENTRY_BACKEND STREQUAL "crashpad")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/sentry_crashpad-targets.cmake")
|
||||
if(NOT SENTRY_BUILD_SHARED_LIBS)
|
||||
- find_dependency(ZLIB REQUIRED)
|
||||
+ find_dependency(ZLIB)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(SENTRY_BACKEND STREQUAL "breakpad" AND NOT SENTRY_BUILD_SHARED_LIBS)
|
||||
set(SENTRY_BREAKPAD_SYSTEM @SENTRY_BREAKPAD_SYSTEM@)
|
||||
if(SENTRY_BREAKPAD_SYSTEM)
|
||||
- find_dependency(PkgConfig REQUIRED)
|
||||
+ find_dependency(PkgConfig)
|
||||
pkg_check_modules(BREAKPAD REQUIRED IMPORTED_TARGET breakpad-client)
|
||||
endif()
|
||||
endif()
|
||||
@@ -24,9 +24,9 @@ endif()
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/sentry-targets.cmake")
|
||||
|
||||
if(SENTRY_TRANSPORT STREQUAL "curl" AND (NOT @BUILD_SHARED_LIBS@ OR NOT SENTRY_BUILD_SHARED_LIBS))
|
||||
- find_dependency(CURL REQUIRED)
|
||||
+ find_dependency(CURL)
|
||||
endif()
|
||||
|
||||
if(SENTRY_LINK_PTHREAD AND NOT SENTRY_BUILD_SHARED_LIBS)
|
||||
- find_dependency(Threads REQUIRED)
|
||||
+ find_dependency(Threads)
|
||||
endif()
|
@ -1,7 +1,7 @@
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/getsentry/sentry-native/releases/download/${VERSION}/sentry-native.zip"
|
||||
FILENAME "sentry-native-${VERSION}.zip"
|
||||
SHA512 92bdbc6edeeb687b30e654e011a1b45abf3ff0b8e2fe22025889550bcadfde50a6895a9539136c02a298013f6890faf41f30f9e2b0f8e2af8d0661edf0083fb3
|
||||
SHA512 b9ee9b7898fee993cbe19ce5c055677940c50d3d5b5cb97a4bccfe5fb498fa812f072a94b65690d779e1b6710d3a8cdee1159615bc2cc1ddfde33e331e798e8f
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive(
|
||||
@ -9,10 +9,8 @@ vcpkg_extract_source_archive(
|
||||
ARCHIVE "${ARCHIVE}"
|
||||
NO_REMOVE_ONE_LEVEL
|
||||
PATCHES
|
||||
fix-config-cmake.patch
|
||||
fix-crashpad-wer.patch
|
||||
fix-usage-runtime.patch
|
||||
fix-find-dependency.patch
|
||||
)
|
||||
file(REMOVE_RECURSE "${SOURCE_PATH}/external/crashpad/third_party/zlib/zlib")
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "sentry-native",
|
||||
"version": "0.7.6",
|
||||
"version": "0.7.7",
|
||||
"description": "Sentry SDK for C, C++ and native applications.",
|
||||
"homepage": "https://sentry.io/",
|
||||
"license": "MIT",
|
||||
|
@ -8117,7 +8117,7 @@
|
||||
"port-version": 0
|
||||
},
|
||||
"sentry-native": {
|
||||
"baseline": "0.7.6",
|
||||
"baseline": "0.7.7",
|
||||
"port-version": 0
|
||||
},
|
||||
"septag-dmon": {
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "39f667ac7ea205c1f4b221830788775fa518e218",
|
||||
"version": "0.7.7",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "f1f62e4b208a45ed18abea06b7221fb3c16291c9",
|
||||
"version": "0.7.6",
|
||||
|
Loading…
x
Reference in New Issue
Block a user