2021-07-23 12:57:32 +08:00
|
|
|
message(WARNING "azure-storage-cpp is no longer actively developed. Instead, users should migrate to the new sdk:azure-core-cpp")
|
2016-12-02 14:54:03 +08:00
|
|
|
|
2017-05-03 11:34:11 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-storage-cpp
|
2020-07-10 03:29:52 +08:00
|
|
|
REF v7.5.0
|
|
|
|
SHA512 83eabcaf2114c8af1cabbc96b6ef2b57c934a06f68e7a870adf336feaa19edd57aedaf8507d5c40500e46d4e77f5059f9286e319fe7cadeb9ffc8fa018fb030c
|
2017-05-03 11:34:11 +08:00
|
|
|
HEAD_REF master
|
2016-12-02 14:54:03 +08:00
|
|
|
)
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}/Microsoft.WindowsAzure.Storage"
|
2016-12-02 14:54:03 +08:00
|
|
|
OPTIONS
|
2018-04-18 07:26:20 +08:00
|
|
|
-DCMAKE_FIND_FRAMEWORK=LAST
|
2016-12-02 14:54:03 +08:00
|
|
|
-DBUILD_TESTS=OFF
|
|
|
|
-DBUILD_SAMPLES=OFF
|
2020-01-31 16:44:28 +08:00
|
|
|
OPTIONS_RELEASE
|
2023-03-07 07:44:04 +08:00
|
|
|
"-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib"
|
2020-01-31 16:44:28 +08:00
|
|
|
OPTIONS_DEBUG
|
2023-03-07 07:44:04 +08:00
|
|
|
"-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib"
|
2016-12-02 14:54:03 +08:00
|
|
|
)
|
|
|
|
|
2023-03-07 07:44:04 +08:00
|
|
|
vcpkg_cmake_install()
|
2016-12-02 14:54:03 +08:00
|
|
|
|
|
|
|
file(INSTALL
|
2023-03-07 07:44:04 +08:00
|
|
|
"${SOURCE_PATH}/LICENSE.txt"
|
|
|
|
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
2018-02-22 13:17:14 +08:00
|
|
|
file(REMOVE_RECURSE
|
2023-03-07 07:44:04 +08:00
|
|
|
"${CURRENT_PACKAGES_DIR}/debug/include")
|
2016-12-02 14:54:03 +08:00
|
|
|
|
|
|
|
vcpkg_copy_pdbs()
|