aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorVitalii Koshura <lestat.de.lionkur@gmail.com>2021-09-04 02:37:59 +0200
committerGitHub <noreply@github.com>2021-09-03 17:37:59 -0700
commitbde7e87f48cff3ad6ab6e1ae20283a005efe6715 (patch)
tree4cefa52ec552329566c59b08b8c274dd6491c00f /ports
parentfbc1e4178adee73b8a0d8d08078b6cac41d7f840 (diff)
downloadvcpkg-bde7e87f48cff3ad6ab6e1ae20283a005efe6715.tar.gz
vcpkg-bde7e87f48cff3ad6ab6e1ae20283a005efe6715.zip
[sentry-native] Update port to use new vcpkg cmake scripts (#19839)
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
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"
]
}