aboutsummaryrefslogtreecommitdiff
path: root/ports/azure-security-keyvault-common-cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ports/azure-security-keyvault-common-cpp')
-rw-r--r--ports/azure-security-keyvault-common-cpp/portfile.cmake6
-rw-r--r--ports/azure-security-keyvault-common-cpp/vcpkg.json17
2 files changed, 18 insertions, 5 deletions
diff --git a/ports/azure-security-keyvault-common-cpp/portfile.cmake b/ports/azure-security-keyvault-common-cpp/portfile.cmake
index 777b3f991..ae8f82439 100644
--- a/ports/azure-security-keyvault-common-cpp/portfile.cmake
+++ b/ports/azure-security-keyvault-common-cpp/portfile.cmake
@@ -5,15 +5,15 @@ vcpkg_from_github(
SHA512 7364bf775bbf6115bf54ee0c2df8b2bae35ea31c669fcbc358edd00a948f2c73926fbf88282ff5442f40ead9cdfc78661a08e4f86002ac2eac5e78ddd13eb33d
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-common/
PREFER_NINJA
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
)
-vcpkg_install_cmake()
+vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
-vcpkg_fixup_cmake_targets()
+vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()
diff --git a/ports/azure-security-keyvault-common-cpp/vcpkg.json b/ports/azure-security-keyvault-common-cpp/vcpkg.json
index dbb47d6bf..53c7959e1 100644
--- a/ports/azure-security-keyvault-common-cpp/vcpkg.json
+++ b/ports/azure-security-keyvault-common-cpp/vcpkg.json
@@ -1,12 +1,25 @@
{
"name": "azure-security-keyvault-common-cpp",
- "version-string": "4.0.0-beta.1",
+ "version-semver": "4.0.0-beta.1",
+ "port-version": 1,
"description": [
"Microsoft Azure Common Key Vault SDK for C++",
"This library provides common Azure KeyVault-related abstractions for Azure SDK."
],
"homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/keyvault/azure-security-keyvault-common",
+ "license": "MIT",
"dependencies": [
- "azure-core-cpp"
+ {
+ "name": "azure-core-cpp",
+ "default-features": false
+ },
+ {
+ "name": "vcpkg-cmake",
+ "host": true
+ },
+ {
+ "name": "vcpkg-cmake-config",
+ "host": true
+ }
]
}