vcpkg/ports/uwebsockets/portfile.cmake
chausner 3469e10df5
[uwebsockets] Update to 20.5.0 (#20513)
* Update uwebsockets to 20.5.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-10-05 16:16:42 -07:00

13 lines
548 B
CMake

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