vcpkg/ports/aws-lambda-cpp/portfile.cmake
Frank 5a1a65b544
[aws-lambda-cpp] Update version to 0.2.9 (#34859)
* [aws-lambda-cpp] Update version to 0.2.9

* vdb
2023-11-02 10:37:35 -07:00

27 lines
815 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO awslabs/aws-lambda-cpp
REF "${VERSION}"
SHA512 c8dddadac3dddb69188d97781040c7af389f6954923b50bac8ff25554c478f9685601d47348bb96343f7f4d20762618f8bbbf74b740ace3d02963c5ef3272ac5
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_copy_pdbs()
vcpkg_cmake_config_fixup(PACKAGE_NAME aws-lambda-runtime CONFIG_PATH lib/aws-lambda-runtime/cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/aws-lambda-runtime")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib/aws-lambda-runtime")
# Handle copyright
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")