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 4a537e969891dde542ad8b1a4a214955a83be29f # v0.6.0
SHA512 eeeb6adb7f94b699a020b5622b9dbb6c677d92779b57bfb2298b331a5cf69d9112d0b123f0c2ca235ecd96df6d32fcf44e85e144fa414aeff8fd67e3b87576d2
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)