2020-06-23 22:10:14 +02:00
|
|
|
# Header-only library
|
2019-06-26 19:41:48 +02:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO yhirose/cpp-httplib
|
2021-06-11 23:49:13 +08:00
|
|
|
REF v0.8.9
|
|
|
|
SHA512 6a3b756235f8a18ef740d0d56b3b8c13959276886e4032a7100656170b2efbdb7897a55a8bce42d38ef62c9a6d8462a9ccffc848320df3abfff24e86d4e7909b
|
2019-06-26 19:41:48 +02:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
|
|
|
file(
|
|
|
|
COPY ${SOURCE_PATH}/httplib.h
|
|
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
|
|
|
)
|
|
|
|
|
|
|
|
# Handle copyright
|
2020-06-23 22:10:14 +02:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|