mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 07:09:06 +08:00
34 lines
887 B
CMake
34 lines
887 B
CMake
vcpkg_fail_port_install(ON_TARGET "UWP")
|
|
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-storage-cpp
|
|
REF v7.4.0
|
|
SHA512 e62abf6b7bfee391a2df5e1eae230f70f9d1514aeea1a80d98183ffc69e4386013b0ac82a11902e30d8e28ee0a23f8a7fe65da30b9a6b838f60c783d2cfd2324
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_configure_cmake(
|
|
SOURCE_PATH ${SOURCE_PATH}/Microsoft.WindowsAzure.Storage
|
|
PREFER_NINJA
|
|
OPTIONS
|
|
-DCMAKE_FIND_FRAMEWORK=LAST
|
|
-DBUILD_TESTS=OFF
|
|
-DBUILD_SAMPLES=OFF
|
|
OPTIONS_RELEASE
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/lib
|
|
OPTIONS_DEBUG
|
|
-DGETTEXT_LIB_DIR=${CURRENT_INSTALLED_DIR}/debug/lib
|
|
)
|
|
|
|
vcpkg_install_cmake()
|
|
|
|
file(INSTALL
|
|
${SOURCE_PATH}/LICENSE.txt
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
|
file(REMOVE_RECURSE
|
|
${CURRENT_PACKAGES_DIR}/debug/include)
|
|
|
|
vcpkg_copy_pdbs()
|
|
|