vcpkg/ports/uwebsockets/portfile.cmake
chausner 1ecff29caf
[uwebsockets] Update to 19.9.0 (#20331)
* Update uwebsockets to 19.9.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-09-27 20:01:51 -07:00

14 lines
550 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uWebSockets
REF v19.9.0
SHA512 A79C454AC37B279220C8B158434FD794512EECDE882C0FE3DC7047275B2FDF31E50B319A4D01B983C2C4EBCF3E1FD383D2D9AB977185326E6AE5B47685C0A048
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/src" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
file(RENAME "${CURRENT_PACKAGES_DIR}/include/src" "${CURRENT_PACKAGES_DIR}/include/uwebsockets")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)