vcpkg/ports/rapidhash/portfile.cmake

12 lines
474 B
CMake
Raw Normal View History

2024-06-11 08:29:26 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Nicoshev/rapidhash
REF e795829fedad966b627b316183901d2670a40af8
SHA512 78d80251bdc89c5122db91848b7dadfe7718c775c69e5e4e8c1a94726cabe67c30e5f4726a6aa9c3f5ecb08abd965bf1fb93a6eb2612681813ed8ba82b0decb4
HEAD_REF master
)
file(COPY "${SOURCE_PATH}/rapidhash.h" DESTINATION ${CURRENT_PACKAGES_DIR}/include)
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)