2020-06-02 09:34:07 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
2019-05-17 23:27:52 +08:00
|
|
|
REPO Thalhammer/jwt-cpp
|
2021-03-26 00:33:34 +08:00
|
|
|
REF b45bc9994d8087c5ba7aa1f1588302f04ae84c83 # v0.5.0
|
|
|
|
SHA512 d2c6e2174cd86c27b8866f6ea50a379a321788e91f97a0548e694d11469c05d93b0713e0c38b37a8f14a0aded4fc4635599dcfb50142e4496fb3c8b9f7e5f8cd
|
2019-05-17 23:27:52 +08:00
|
|
|
HEAD_REF master
|
2020-06-02 09:34:07 +08:00
|
|
|
)
|
2019-05-17 23:27:52 +08:00
|
|
|
|
|
|
|
# Copy the header files
|
|
|
|
file(GLOB HEADER_FILES ${SOURCE_PATH}/include/jwt-cpp/*)
|
2021-03-26 00:33:34 +08:00
|
|
|
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/jwt-cpp)
|
2020-06-02 09:34:07 +08:00
|
|
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|