vcpkg/ports/uwebsockets/portfile.cmake
chausner 63044d1243
[uwebsockets] Update to 20.6.0 (#20877)
* Update uwebsockets to 20.6.0

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-21 23:52:30 -07:00

13 lines
548 B
CMake

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