vcpkg/ports/uwebsockets/portfile.cmake
chausner 81800b4f6e
[uwebsockets] Update to 20.9.0 (#22706)
* Update uwebsockets to 20.9.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2022-01-24 15:09:36 -08:00

13 lines
548 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uWebSockets
REF v20.9.0
SHA512 a5f8716e5f7db4a842abd6bb1143b76b13c9cba7d623910110a18b1cb88adeda80918c3e4ba9ab434fd55f8a57b78ebb15b684d575eb59d5d6e458d24654a726
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)