[sentry-native] Update to 0.4.12 (#19339)

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2021-08-05 12:03:11 +02:00 committed by GitHub
parent 8ac6ffd19e
commit 8f4085527d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 27 deletions

View File

@ -1,19 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a74a93..30c131c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -249,13 +249,7 @@ target_compile_definitions(sentry PRIVATE SIZEOF_LONG=${CMAKE_SIZEOF_LONG})
if(SENTRY_TRANSPORT_CURL)
find_package(CURL REQUIRED)
- target_include_directories(sentry PRIVATE ${CURL_INCLUDE_DIR})
- # The exported sentry target must not contain any path of the build machine, therefore use generator expressions
- # FIXME: cmake 3.12 introduced the target CURL::libcurl
- string(REPLACE ";" "$<SEMICOLON>" GENEX_CURL_LIBRARIES "${CURL_LIBRARIES}")
- string(REPLACE ";" "$<SEMICOLON>" GENEX_CURL_COMPILE_DEFINITIONS "${CURL_COMPILE_DEFINITIONS}")
- target_link_libraries(sentry PRIVATE $<BUILD_INTERFACE:${GENEX_CURL_LIBRARIES}>)
- target_compile_definitions(sentry PRIVATE $<BUILD_INTERFACE:${GENEX_CURL_COMPILE_DEFINITIONS}>)
+ target_link_libraries(sentry PRIVATE CURL::libcurl)
endif()
set_property(TARGET sentry PROPERTY C_VISIBILITY_PRESET hidden)

View File

@ -3,9 +3,9 @@ if(NOT VCPKG_TARGET_IS_OSX)
endif()
vcpkg_download_distfile(ARCHIVE
URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.11/sentry-native.zip"
FILENAME "sentry-native-0.4.11.zip"
SHA512 3d66295526c0cd068a0b7c2180dbeae7594775b3eb3199a74da7efe634cbc19cff6eba8d44b1479037c43c6eb58a9ba4fdaf8da6995767f27c585a0d42582c37
URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.12/sentry-native.zip"
FILENAME "sentry-native-0.4.12.zip"
SHA512 15da4407ed5e2c8d5e56e497ccc6006b29235aef6b3a81e034c93443e20a7cfdf95d55e31b88e552c55e824eb15d6f7fafe988c453a5a6f36fe45136d7268b19
)
vcpkg_extract_source_archive_ex(
@ -15,7 +15,6 @@ vcpkg_extract_source_archive_ex(
PATCHES
fix-warningC5105.patch
fix-config-cmake.patch
fix-libcurl.patch
use-zlib-target.patch
)

View File

@ -1,7 +1,6 @@
{
"name": "sentry-native",
"version-semver": "0.4.11",
"port-version": 1,
"version-semver": "0.4.12",
"description": "Sentry SDK for C, C++ and native applications.",
"homepage": "https://sentry.io/",
"supports": "!(arm | (arm64 & !osx) | uwp)",

View File

@ -5785,8 +5785,8 @@
"port-version": 1
},
"sentry-native": {
"baseline": "0.4.11",
"port-version": 1
"baseline": "0.4.12",
"port-version": 0
},
"septag-sx": {
"baseline": "2019-05-07-2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "85e3e8c19428a75c746ff7389f86746f1a7ef93f",
"version-semver": "0.4.12",
"port-version": 0
},
{
"git-tree": "a2864f84fc6ef423bcc641b64b75cc574df99b85",
"version-semver": "0.4.11",