vcpkg/ports/jwt-cpp/portfile.cmake

13 lines
564 B
CMake
Raw Normal View History

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
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/*)
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)