vcpkg/ports/luabridge3/portfile.cmake
kunitoki ab5472aaa9
[LuaBridge3] Add new port (#26600)
* LuaBridge3 support for vcpkg

* Fix vcpkg.json

* Generated files from ./vcpkg x-add-version luabridge3

* Update ports/luabridge3/portfile.cmake

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>

* Update portfile.cmake

* Update portfile.cmake

* Update portfile.cmake

* improve portfile.cmake

* update version

* Update versions for LuaBridge3

* Updated versions

* update hash

* version

Co-authored-by: Frank <65999885+FrankXie05@users.noreply.github.com>
Co-authored-by: FrankXie <v-frankxie@microsoft.com>
2022-09-29 14:26:17 -07:00

16 lines
582 B
CMake

# header-only library
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO kunitoki/LuaBridge3
REF d811afc00bc3d19f548d5aa28ccfe16b09e62ea4 # 3.0-beta4
SHA512 93c6187ac171ea3cc8c01ebdd3ea215b599b06268f83e4c35e9532dbeec94fde9219b26bc1cf8929bbafa1881f5258cbaf61abf89514ee8b557e52df0f05c2eb
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)