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 f6324663db534a0c70fbe94f77900ac0dedfd837abe091c7bf41c92865309dea01dc91703ac435a2e4d4f71342beb595fabba9477743c932cd1dfee8b2a7c3e2
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")