2020-06-24 04:10:14 +08:00
|
|
|
# Header-only library
|
2019-06-27 01:41:48 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO yhirose/cpp-httplib
|
2022-05-07 02:44:41 +08:00
|
|
|
REF 9452c0a4b69c5e4e31169ed32e961d330695122c #v0.10.7
|
|
|
|
SHA512 23c4ca159ed4ddf29c3911436436502df76420d8bc8b202f290627de96ee6a741b74409a90f943f3fbbb59af1975bd8c36a94bd4c5eff3981f4514feb326e110
|
2019-06-27 01:41:48 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-10-22 14:50:39 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/httplib.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
2019-06-27 01:41:48 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2021-10-22 14:50:39 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|