vcpkg/ports/azure-security-keyvault-common-cpp/portfile.cmake
Anton Kolesnyk 8067f8a110
[azure-sdk-for-cpp] Upgrade vcpkg manifest files (#17447)
* [azure-sdk-for-cpp] Upgrade vcpkg manifest files

* Update version files

* vcpkg format-manifest

* Update version files

* Minor change to re-trigger CI

* Undo that minor change

* Bump up port-version

* Update x-add-version

* redo x-add-version without overwrite

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
2021-04-23 10:23:13 -07:00

20 lines
649 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-security-keyvault-common_4.0.0-beta.1
SHA512 7364bf775bbf6115bf54ee0c2df8b2bae35ea31c669fcbc358edd00a948f2c73926fbf88282ff5442f40ead9cdfc78661a08e4f86002ac2eac5e78ddd13eb33d
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/sdk/keyvault/azure-security-keyvault-common/
PREFER_NINJA
OPTIONS
-DWARNINGS_AS_ERRORS=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_copy_pdbs()