vcpkg/ports/jwt-cpp/portfile.cmake
Chris Mc 63cc543890
[jwt-cpp] update to v0.5.0 (#16799)
* [jwt-cpp] update to v0.5.0

* Update CONTROL

* Update portfile.cmake

* Delete fix-warning.patch

* Update and rename CONTROL to vcpkg.json

* Update vcpkg.json

* Update jwt-cpp.json

* Update baseline.json

* Update versions/j-/jwt-cpp.json

* Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Update versions/j-/jwt-cpp.json

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
2021-03-25 09:33:34 -07:00

13 lines
564 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO Thalhammer/jwt-cpp
REF b45bc9994d8087c5ba7aa1f1588302f04ae84c83 # v0.5.0
SHA512 d2c6e2174cd86c27b8866f6ea50a379a321788e91f97a0548e694d11469c05d93b0713e0c38b37a8f14a0aded4fc4635599dcfb50142e4496fb3c8b9f7e5f8cd
HEAD_REF master
)
# Copy the header files
file(GLOB HEADER_FILES ${SOURCE_PATH}/include/jwt-cpp/*)
file(COPY ${HEADER_FILES} DESTINATION ${CURRENT_PACKAGES_DIR}/include/jwt-cpp)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)