mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 20:19:00 +08:00
728557cc78
* Fixes jwt-cpp This is a fix for #19837 Not sure why the hash worked a few days ago but appears to have broken now though (that needs some investigation). But the build is indeed broken * update port version * version Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
13 lines
564 B
CMake
13 lines
564 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO Thalhammer/jwt-cpp
|
|
REF 60122bbd8e6b9009c4633c1a33ea94c5b682034a # v0.5.1
|
|
SHA512 ae905e217824d21ec9f098f562d993fbae71b2223e65f3bbcc29d352af61f2aa09b5c6b12c7d94742901a1374f9683335d3b4934c25b11500b710398331f6cb4
|
|
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)
|