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/luabridge3/portfile.cmake | |
Diffstat (limited to 'vcpkg/ports/luabridge3/portfile.cmake')
| -rw-r--r-- | vcpkg/ports/luabridge3/portfile.cmake | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/luabridge3/portfile.cmake b/vcpkg/ports/luabridge3/portfile.cmake new file mode 100644 index 0000000..6f08ed3 --- /dev/null +++ b/vcpkg/ports/luabridge3/portfile.cmake @@ -0,0 +1,15 @@ +# header-only library + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO kunitoki/LuaBridge3 + REF 0e17140276d215e98764813078f48731125e4784 # 3.0-rc3 + SHA512 b0cafc817abf6408bb26ba76ca05641cc311e2defa3a78481af7dbd56be49f3d28c81d2b2a152aa5f0ea18721578eb9e36515614dca40f813603af5abe45d0ce + HEAD_REF master +) + +# Copy the header files +file(COPY "${SOURCE_PATH}/Source/LuaBridge" DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}") + +# Handle copyright +file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) |