vcpkg/ports/uwebsockets/portfile.cmake
JonLiu1993 82c7a4578a
[uwebsockets] update to 20.14.0 (#25687)
* [uwebsockets] update to 20.14.0

* update version
2022-07-11 16:17:58 -07:00

13 lines
592 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uWebSockets
REF e4c6fbf8defda2aeaf941e5c656bdc589d7d331c #v20.14.0
SHA512 c58210819f26eacad4f2d269c1625e46391174a1840423fd198c03549b7a99be2e27ccd83c8711537618b8aa3087bcf71a6146582f221a205eb6d92c2f891ba1
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)