vcpkg/ports/brynet/portfile.cmake

14 lines
512 B
CMake
Raw Normal View History

#header-only library
2017-12-21 16:19:44 +08:00
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO IronsDu/brynet
REF 1b4a9623b5d6502bd912dd8b106fb3462d7f6ab4 # v1.10.0
SHA512 a36fabddfc7e60423363f219247777beeeddcd858502b7fd32fe1f86abd33294d91802cf6ae61c53e34f6e6a9a4e6182e0ab2a1a2b62850354995798be2bfc49
2017-12-21 16:19:44 +08:00
HEAD_REF master
)
file(INSTALL ${SOURCE_PATH}/include/brynet DESTINATION ${CURRENT_PACKAGES_DIR}/include)
2017-12-21 16:19:44 +08:00
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)