vcpkg/ports/cpp-async/portfile.cmake
chausner f2328e89e9
[cpp-async] Add new port (#31523)
* Add cpp-async 2023-05-19

* Update CI baseline

* Add new line

* Update CI baseline

* Fix HEAD_REF

* Update CI baseline

* Update to v1.0.0

* Update CI baseline

* Remove old version

---------

Co-authored-by: chausner <chausner@users.noreply.github.com>
2023-05-22 11:56:55 -07:00

14 lines
513 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO microsoft/cpp-async
REF "v${VERSION}"
SHA512 c3a6700c86d6bec2680c9d0edfe3ed02e83f8ecec134163243a7bfa4e12d4867a47d64eadd377de9b2a69401b8b512e0ee274275895a8f301c266db24b6e0a4b
HEAD_REF main
)
file(COPY "${SOURCE_PATH}/include/async" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")