2019-10-19 03:57:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO bfgroup/Lyra
|
2021-11-16 06:19:05 +08:00
|
|
|
REF 1.5.1
|
|
|
|
SHA512 e349c57614fe18cfee49b6a3977f133de3e567aa6b1c148abf9510432f7db34b75488739850e48c7943a15151fe2eedb129179d8d73eb61fb4f9a11c54b61086
|
2019-10-19 03:57:02 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-11-16 06:19:05 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-02-11 15:53:37 +08:00
|
|
|
)
|
2021-11-16 06:19:05 +08:00
|
|
|
vcpkg_cmake_install()
|
|
|
|
vcpkg_cmake_config_fixup(
|
|
|
|
PACKAGE_NAME lyra
|
2021-02-11 15:53:37 +08:00
|
|
|
CONFIG_PATH share/lyra/cmake
|
|
|
|
)
|
|
|
|
|
|
|
|
# Library is header-only, so no debug content.
|
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
2019-10-19 03:57:02 +08:00
|
|
|
|
2021-11-16 06:19:05 +08:00
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|