diff options
Diffstat (limited to 'ports/azure-core-cpp')
| -rw-r--r-- | ports/azure-core-cpp/portfile.cmake | 6 | ||||
| -rw-r--r-- | ports/azure-core-cpp/vcpkg.json | 26 |
2 files changed, 24 insertions, 8 deletions
diff --git a/ports/azure-core-cpp/portfile.cmake b/ports/azure-core-cpp/portfile.cmake index 74d20a8a2..92e20a890 100644 --- a/ports/azure-core-cpp/portfile.cmake +++ b/ports/azure-core-cpp/portfile.cmake @@ -12,7 +12,7 @@ vcpkg_check_features( winhttp BUILD_TRANSPORT_WINHTTP
)
-vcpkg_configure_cmake(
+vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
PREFER_NINJA
OPTIONS
@@ -20,8 +20,8 @@ vcpkg_configure_cmake( -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-core-cpp/vcpkg.json b/ports/azure-core-cpp/vcpkg.json index 2f88f104c..fe61085dd 100644 --- a/ports/azure-core-cpp/vcpkg.json +++ b/ports/azure-core-cpp/vcpkg.json @@ -1,15 +1,25 @@ { "name": "azure-core-cpp", - "version-string": "1.0.0-beta.8", + "version-semver": "1.0.0-beta.8", + "port-version": 1, "description": [ "Microsoft Azure Core SDK for C++", "This library provides shared primitives, abstractions, and helpers for modern Azure SDK client libraries written in the C++." ], "homepage": "https://github.com/Azure/azure-sdk-for-cpp/tree/master/sdk/core/azure-core", + "license": "MIT", "dependencies": [ { "name": "openssl", "platform": "!windows & !uwp" + }, + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true } ], "default-features": [ @@ -17,17 +27,23 @@ ], "features": { "curl": { - "description": "Build an HTTP transport implementation with LibCURL", + "description": "LibCURL HTTP transport implementation", "dependencies": [ { "name": "azure-core-cpp", "default-features": false }, - "curl" + { + "name": "curl", + "default-features": false, + "features": [ + "ssl" + ] + } ] }, "http": { - "description": "Build all HTTP transport implementations, depending on the platform", + "description": "All HTTP transport implementations available on the platform", "dependencies": [ { "name": "azure-core-cpp", @@ -48,7 +64,7 @@ ] }, "winhttp": { - "description": "Build an HTTP transport implementation with WinHTTP", + "description": "WinHTTP HTTP transport implementation", "dependencies": [ { "name": "azure-core-cpp", |
