vcpkg/ports/uwebsockets/portfile.cmake

14 lines
528 B
CMake
Raw Normal View History

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO uNetworking/uWebSockets
REF "v${VERSION}"
SHA512 2fa0172d262e5c5e4333cee92c34f01f97441960753a19c9f91806ce3b412622292372b6f5401416033695dbb094ba19f61c316856e8ddff0cb02c4c12458f93
HEAD_REF master
2016-12-06 23:39:57 +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
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")