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 60122bbd8e6b9009c4633c1a33ea94c5b682034a # v0.5.1
SHA512 ae905e217824d21ec9f098f562d993fbae71b2223e65f3bbcc29d352af61f2aa09b5c6b12c7d94742901a1374f9683335d3b4934c25b11500b710398331f6cb4
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)