2022-11-12 01:06:09 +08:00
|
|
|
# header-only library
|
2018-03-08 06:21:52 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-05-03 04:53:28 +08:00
|
|
|
REPO uNetworking/uWebSockets
|
2022-11-12 01:06:09 +08:00
|
|
|
REF 654b4558a4347cc9f437f82c6000639af5f20c2c #v20.30.0
|
|
|
|
SHA512 89e1b5c6e62f09fdd5974491ac607ac96d3afcdc30c1bfc52cfd92945e884fb892904c007df67ec64500197fc36745b94c365d076461ce4daa4df208226b82b1
|
2018-03-08 06:21:52 +08:00
|
|
|
HEAD_REF master
|
2016-12-06 23:39:57 +08:00
|
|
|
)
|
|
|
|
|
2021-09-08 23:02:56 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/src" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(RENAME "${CURRENT_PACKAGES_DIR}/include/src" "${CURRENT_PACKAGES_DIR}/include/uwebsockets")
|
2016-12-06 23:39:57 +08:00
|
|
|
|
2021-09-08 23:02:56 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|