2024-01-19 12:27:36 -08:00
|
|
|
# NOTE: All changes made to this file will get overwritten by the next port release.
|
|
|
|
# Please contribute your changes to https://github.com/Azure/azure-sdk-for-cpp.
|
|
|
|
|
2022-04-05 18:16:54 -07:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO Azure/azure-sdk-for-cpp
|
2024-04-23 12:54:46 -07:00
|
|
|
REF "azure-security-attestation_${VERSION}"
|
2023-02-09 10:54:26 -08:00
|
|
|
SHA512 bf5c0ab830122838045e3e5ff03aae38f81082b50b9b0c61fa21a8c101a2fd98ad98b136d49702665d720f59baa6a89c8af3f161a44c09d24ad747fb1828cbca
|
2024-04-23 12:54:46 -07:00
|
|
|
HEAD_REF main
|
2022-04-05 18:16:54 -07:00
|
|
|
)
|
|
|
|
|
2023-09-22 16:08:59 -07:00
|
|
|
if(EXISTS "${SOURCE_PATH}/sdk/attestation/azure-security-attestation")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/attestation/_")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/sdk/_")
|
|
|
|
file(REMOVE_RECURSE "${SOURCE_PATH}/_")
|
|
|
|
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk/attestation/azure-security-attestation" "${SOURCE_PATH}/sdk/attestation/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk/attestation" "${SOURCE_PATH}/sdk/_")
|
|
|
|
file(RENAME "${SOURCE_PATH}/sdk" "${SOURCE_PATH}/_")
|
|
|
|
endif()
|
|
|
|
|
2022-04-05 18:16:54 -07:00
|
|
|
vcpkg_cmake_configure(
|
2023-09-22 16:08:59 -07:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}/_/_/_"
|
2022-04-05 18:16:54 -07:00
|
|
|
OPTIONS
|
|
|
|
-DWARNINGS_AS_ERRORS=OFF
|
2024-01-19 12:27:36 -08:00
|
|
|
-DBUILD_TESTING=OFF
|
2022-04-05 18:16:54 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
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()
|