diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/jsmn/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/jsmn/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/jsmn/portfile.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/jsmn/portfile.cmake b/vcpkg/ports/jsmn/portfile.cmake new file mode 100644 index 0000000..a8deec6 --- /dev/null +++ b/vcpkg/ports/jsmn/portfile.cmake @@ -0,0 +1,14 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO zserge/jsmn + REF fdcef3ebf886fa210d14956d3c068a653e76a24e + SHA512 ec3a6b106b868238aa626e5b4477ace4414f385a35c695a583598975202b73a2a446143eb5f0ea73b0a84113c610ea36e64341fccecd1d1ddd9080e06f599575 + HEAD_REF master +) + +file(COPY ${SOURCE_PATH}/jsmn.h DESTINATION ${CURRENT_PACKAGES_DIR}/include) + +# Handle copyright +configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY) |