vcpkg/ports/uwebsockets/portfile.cmake
Jia Yue Hua 78af68fdcc
[uwebsockets] update to 20.47.0 (#34683)
* [uwebsockets] update to 20.47.0

* [uwebsockets] update to 20.47.0
2023-10-24 09:02:01 -07:00

14 lines
528 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uWebSockets
REF "v${VERSION}"
SHA512 f6324663db534a0c70fbe94f77900ac0dedfd837abe091c7bf41c92865309dea01dc91703ac435a2e4d4f71342beb595fabba9477743c932cd1dfee8b2a7c3e2
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")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")