mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 03:02:14 +08:00
17 lines
510 B
CMake
17 lines
510 B
CMake
# Header-only library
|
|
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO yhirose/cpp-httplib
|
|
REF v0.7.0
|
|
SHA512 4ffbeb6672dec5f3704d6c3da09acf0e1984b5c7c68455f7fb030a7457bc64983665498015f2372d8a85da02be1750bab03dae956653297ac8efef67ff682854
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(
|
|
COPY ${SOURCE_PATH}/httplib.h
|
|
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
|
)
|
|
|
|
# Handle copyright
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|