2019-10-19 03:57:02 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO bfgroup/Lyra
|
2023-10-10 06:31:08 +08:00
|
|
|
REF "${VERSION}"
|
|
|
|
SHA512 643c25fbe996af2e888eacb99a715e3d420dbfc21d48756703cf301ab6ba0d1f8eea1cd0764bd5c173d2ddcef7c799448d8c3a77676024205163305e1363d461
|
|
|
|
HEAD_REF release
|
2019-10-19 03:57:02 +08:00
|
|
|
)
|
|
|
|
|
2023-10-10 06:31:08 +08:00
|
|
|
set(VCPKG_BUILD_TYPE release) # header-only port
|
|
|
|
|
2021-11-16 06:19:05 +08:00
|
|
|
vcpkg_cmake_configure(
|
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
2021-02-11 15:53:37 +08:00
|
|
|
)
|
2023-10-10 06:31:08 +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
|
|
|
|
)
|
|
|
|
|
2023-10-10 06:31:08 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib")
|
2019-10-19 03:57:02 +08:00
|
|
|
|
2023-10-10 06:31:08 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|