vcpkg/ports/happly/portfile.cmake
autoantwort c72fa13af2
[happly] add new port (#16788)
* [happly] add new port

* add version files
2021-03-22 15:34:08 -07:00

14 lines
481 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO nmwsharp/happly
REF 88f79725d32d78e0e637ebf42d8432d519e1c7d0
SHA512 79f2be2d4f5583bc4ea63d92af142fc1a59c91610dee5d2bbbd3fbfb6ff6cd697cd6cc6d740ac3878278257f550c739832b2ecf10887b0607045e9f09a35c92c
HEAD_REF master
)
file(
COPY ${SOURCE_PATH}/happly.h
DESTINATION ${CURRENT_PACKAGES_DIR}/include
)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)