mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-14 03:59:03 +08:00
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 7ec432003f2a33d34fef6d683e0253518751392079fc0bd35df9dc3a7595afe8003690c9a635e746728b15c2f11e536f21969d21957c359d00d8f485f8607a04
|
|
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")
|