mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 19:49:01 +08:00
924d8d4662
* [uwebsockets] update to 20.40.0 * update version
14 lines
528 B
CMake
14 lines
528 B
CMake
# header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO uNetworking/uWebSockets
|
|
REF "v${VERSION}"
|
|
SHA512 2fa0172d262e5c5e4333cee92c34f01f97441960753a19c9f91806ce3b412622292372b6f5401416033695dbb094ba19f61c316856e8ddff0cb02c4c12458f93
|
|
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")
|