vcpkg/ports/jwt-cpp/portfile.cmake

14 lines
485 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 "v${VERSION}"
SHA512 b6fdb93e3f2f065a2eb45fe16cb076a932b8d4bfad2251bd66d2be40d8afaf5c27a9cf17aaea61d8bfa3f5ff9ed3b45f90962dc14d72704ac5b9d717c12cc79f
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)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")