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