mirror of https://github.com/microsoft/vcpkg.git
[sentry-native] Update port to 0.4.2 (#13546)
* [sentry-native] Update port to 0.4.2
Remove custom fix for msvc 19.27 because of the fix that was introduced by port authors here: f1437333d4
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
* Fix review comments
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
ef0e387c1d
commit
2ad537e323
|
|
@ -1,5 +1,5 @@
|
|||
Source: sentry-native
|
||||
Version: 0.4.1
|
||||
Version: 0.4.2
|
||||
Port-Version: 2
|
||||
Homepage: https://sentry.io/
|
||||
Description: Sentry SDK for C, C++ and native applications.
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP")
|
||||
|
||||
vcpkg_download_distfile(ARCHIVE
|
||||
URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.1/sentry-native.zip"
|
||||
FILENAME "sentry-native-0.4.1.zip"
|
||||
SHA512 644e18e89e63c21f7aef9fd389ae768e4f4951ba970d52c529782391e8acb47cb49136dabc156365bdfa13cdd1bd21745d486f836bb21c88f282bd1a533e6420
|
||||
URLS "https://github.com/getsentry/sentry-native/releases/download/0.4.2/sentry-native.zip"
|
||||
FILENAME "sentry-native-0.4.2.zip"
|
||||
SHA512 6353642ceba97b44466ee4854c44cd3649ddb3d1087ff6321848d502fd5dba809778f2f2495134cf0e7a00221e73f40cc2158e46b1604ff6e78403b852f601c5
|
||||
)
|
||||
|
||||
vcpkg_extract_source_archive_ex(
|
||||
|
|
@ -24,20 +24,12 @@ if (NOT DEFINED SENTRY_BACKEND)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
if (VCPKG_TARGET_IS_WINDOWS)
|
||||
set(SENTRY_NATIVE_C_STANDARD 99)
|
||||
else()
|
||||
set(SENTRY_NATIVE_C_STANDARD 11)
|
||||
endif()
|
||||
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DSENTRY_BUILD_TESTS=OFF
|
||||
-DSENTRY_BUILD_EXAMPLES=OFF
|
||||
-DCMAKE_C_STANDARD=${SENTRY_NATIVE_C_STANDARD}
|
||||
-DSENTRY_BACKEND=${SENTRY_BACKEND}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue