13 lines
580 B
CMake
13 lines
580 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO uNetworking/uWebSockets
|
|
REF 025415d1a0174cf581b481fd2b3f155241a1265b # v18.1.0
|
|
SHA512 e094f1c8b3d0361c5a36c9a911e8431f19567d42db0c520ef1888db1d5f12e0103c7a554d7f7117648ed9b7bc1ceb104cd2f7ce7867153e220d2c4bf9cba7907
|
|
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)
|