mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 07:26:17 +08:00
7e044226c8
## 1.2.1 (2021-09-02) ### Bugs Fixed - [2785](https://github.com/Azure/azure-sdk-for-cpp/issues/2785) Fix to build on g++ 5.5. ### Other Changes - Fixed compilation error on POSIX platforms where OpenSSL was not available. - Support CMake version 3.12 Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
27 lines
767 B
CMake
27 lines
767 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Azure/azure-sdk-for-cpp
|
|
REF azure-core_1.2.1
|
|
SHA512 3628c4845eb1a842a06339a606fba8ae127f3744a097cc3ecd7552a052b9c932e0a008f8654a4affde68c483be38678a1728bf19d644c6ee04b2cd34f1513b32
|
|
)
|
|
|
|
vcpkg_check_features(
|
|
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
|
FEATURES
|
|
curl BUILD_TRANSPORT_CURL
|
|
winhttp BUILD_TRANSPORT_WINHTTP
|
|
)
|
|
|
|
vcpkg_cmake_configure(
|
|
SOURCE_PATH ${SOURCE_PATH}/sdk/core/azure-core/
|
|
OPTIONS
|
|
${FEATURE_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()
|