aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/sentry-native/portfile.cmake7
-rw-r--r--ports/sentry-native/vcpkg.json9
2 files changed, 12 insertions, 4 deletions
diff --git a/ports/sentry-native/portfile.cmake b/ports/sentry-native/portfile.cmake
index e538c1222..64165b1c5 100644
--- a/ports/sentry-native/portfile.cmake
+++ b/ports/sentry-native/portfile.cmake
@@ -30,9 +30,8 @@ if (NOT DEFINED SENTRY_BACKEND)
endif()
endif()
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
- PREFER_NINJA
OPTIONS
-DSENTRY_BUILD_TESTS=OFF
-DSENTRY_BUILD_EXAMPLES=OFF
@@ -40,13 +39,13 @@ vcpkg_configure_cmake(
-DCRASHPAD_ZLIB_SYSTEM=ON
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/sentry TARGET_PATH share/sentry)
+vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/sentry)
if (SENTRY_BACKEND STREQUAL "crashpad")
vcpkg_copy_tools(
diff --git a/ports/sentry-native/vcpkg.json b/ports/sentry-native/vcpkg.json
index 84840940e..012a0d2e6 100644
--- a/ports/sentry-native/vcpkg.json
+++ b/ports/sentry-native/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "sentry-native",
"version-semver": "0.4.12",
+ "port-version": 1,
"description": "Sentry SDK for C, C++ and native applications.",
"homepage": "https://sentry.io/",
"supports": "!(arm | (arm64 & !osx) | uwp)",
@@ -9,6 +10,14 @@
"name": "curl",
"platform": "!windows"
},
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ },
"zlib"
]
}