2020-05-29 04:09:59 +08:00
|
|
|
# header-only library
|
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO charlesnicholson/nanoprintf
|
2023-08-04 21:47:50 +08:00
|
|
|
REF "v${VERSION}"
|
|
|
|
SHA512 a82da24fcd176c385c8c2d1666416bcbafc3bf3e1b9e1365c8ffd7a0158485c7af6b0dbf7cd0821a7af55238784cd682a0f22fe37527b91ea3f3eaa702c61c46
|
2020-05-29 04:09:59 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2023-08-04 21:47:50 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/nanoprintf.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
2020-05-29 04:09:59 +08:00
|
|
|
|
2023-08-04 21:47:50 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|