vcpkg/ports/azure-storage-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
630 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Azure/azure-sdk-for-cpp
REF azure-storage-common_12.0.0-beta.10
SHA512 f49f74c9a6d7b80b0f7c8a9b9d2e4595dc304439d30c8c83f520833f81ef7d3480b858ada61c12f76e82eea7960eb155453b0acdcea143f163a12d567adbf18d
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}/sdk/storage/azure-storage-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()