-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Source: cpp-httplib | ||
Version: 0.2.0 | ||
Homepage: https://github.com/yhirose/cpp-httplib | ||
Description: A single file C++11 header-only HTTP/HTTPS server and client library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
include(vcpkg_common_functions) | ||
|
||
set(VERSION 0.2.0) | ||
|
||
vcpkg_from_github( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
REPO yhirose/cpp-httplib | ||
REF 2f8479016fa9af9a63056571992b31c32741d89b | ||
SHA512 2f17a6a95c849a5c873a65e8da8bf85311f0152e439a973354c24d02ee9e6c3b0f3a456b60f90637ea4588d9ac09f7e41f42199de61315754e5fe9eecbb657ed | ||
HEAD_REF master | ||
) | ||
|
||
file( | ||
COPY ${SOURCE_PATH}/httplib.h | ||
DESTINATION ${CURRENT_PACKAGES_DIR}/include | ||
) | ||
|
||
# Handle copyright | ||
configure_file( | ||
${SOURCE_PATH}/LICENSE | ||
${CURRENT_PACKAGES_DIR}/share/cpp-httplib/copyright | ||
COPYONLY | ||
) |