aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/sentry-native/fix-config-cmake.patch10
-rw-r--r--ports/sentry-native/vcpkg.json2
2 files changed, 8 insertions, 4 deletions
diff --git a/ports/sentry-native/fix-config-cmake.patch b/ports/sentry-native/fix-config-cmake.patch
index 3e7a33120..3d8db2a0e 100644
--- a/ports/sentry-native/fix-config-cmake.patch
+++ b/ports/sentry-native/fix-config-cmake.patch
@@ -1,9 +1,13 @@
diff --git a/sentry-config.cmake.in b/sentry-config.cmake.in
-index 89ea345..21d8732 100644
+index 89ea345..c14b31c 100644
--- a/sentry-config.cmake.in
+++ b/sentry-config.cmake.in
-@@ -5,7 +5,7 @@ set(SENTRY_TRANSPORT @SENTRY_TRANSPORT@)
+@@ -3,9 +3,11 @@
+ set(SENTRY_BACKEND @SENTRY_BACKEND@)
+ set(SENTRY_TRANSPORT @SENTRY_TRANSPORT@)
++include(CMakeFindDependencyMacro)
++
if(SENTRY_BACKEND STREQUAL "crashpad")
if(@SENTRY_CRASHPAD_SYSTEM@)
- find_package(crashpad REQUIRED)
@@ -11,7 +15,7 @@ index 89ea345..21d8732 100644
else()
include("${CMAKE_CURRENT_LIST_DIR}/sentry_crashpad-targets.cmake")
endif()
-@@ -14,7 +14,7 @@ endif()
+@@ -14,7 +16,7 @@ endif()
include("${CMAKE_CURRENT_LIST_DIR}/sentry-targets.cmake")
if(SENTRY_TRANSPORT STREQUAL "curl" AND NOT @BUILD_SHARED_LIBS@)
diff --git a/ports/sentry-native/vcpkg.json b/ports/sentry-native/vcpkg.json
index 012a0d2e6..0cd2e1499 100644
--- a/ports/sentry-native/vcpkg.json
+++ b/ports/sentry-native/vcpkg.json
@@ -1,7 +1,7 @@
{
"name": "sentry-native",
"version-semver": "0.4.12",
- "port-version": 1,
+ "port-version": 2,
"description": "Sentry SDK for C, C++ and native applications.",
"homepage": "https://sentry.io/",
"supports": "!(arm | (arm64 & !osx) | uwp)",