]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/hedley/portfile.cmake
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / hedley / portfile.cmake
1 # header-only library
2
3 vcpkg_from_github(
4 OUT_SOURCE_PATH SOURCE_PATH
5 REPO nemequ/hedley
6 REF 8fb0604a8095f6c907378cc3f0391520ae843f6f
7 SHA512 3ce102d348f96bd8c7d44bc7119a8f637041f613e1e6a578c15e24c56f79dbcb0b1bce93bc8779a90cc2e34ab74d09f29d240b4519d592973c59da49923460da
8 HEAD_REF master
9 )
10
11 file(COPY ${SOURCE_PATH}/hedley.h DESTINATION ${CURRENT_PACKAGES_DIR}/include)
12
13 file(STRINGS ${SOURCE_PATH}/hedley.h SOURCE_LINES)
14 # Capture more lines than required to handle future license file changes
15 list(SUBLIST SOURCE_LINES 0 30 SOURCE_LINES)
16 list(JOIN SOURCE_LINES "\n" _contents)
17 file(WRITE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright "${_contents}")