aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/sentry-native/CONTROL2
-rw-r--r--ports/sentry-native/portfile.cmake14
2 files changed, 4 insertions, 12 deletions
diff --git a/ports/sentry-native/CONTROL b/ports/sentry-native/CONTROL
index 46691143b..a2f4a780e 100644
--- a/ports/sentry-native/CONTROL
+++ b/ports/sentry-native/CONTROL
@@ -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.
diff --git a/ports/sentry-native/portfile.cmake b/ports/sentry-native/portfile.cmake
index 85bce660a..467ee6755 100644
--- a/ports/sentry-native/portfile.cmake
+++ b/ports/sentry-native/portfile.cmake
@@ -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}
)