mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-09 16:59:00 +08:00
e4e9eb9891
* Add port of tree-similarity to measure tree edit distance * Fixed database version * Fix version again * Trying to fix the database version issue again * Update tree-similarity to v0.2 * Added tree-similarity v0.2 * Use official repo to download the library (PR got merged); Clean up versions * Update version manifest * Update download hash * Update version manifest * Align version string with upstream repo release tag * Update version manifest to align with upstream release tag * Update to release 0.1.1 that installs only the header files * Update version manifest
18 lines
629 B
CMake
18 lines
629 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO DatabaseGroup/tree-similarity
|
|
REF 0.1.1
|
|
SHA512 5367f4b694d686456c4ffaaf21c7372fb7012811f3b2ded00c6bc1d18d27ecb7a6a28b3c9bd7cb91cb42c5426321b0b12a2e14ab2c838aa8fc859128b372dded
|
|
HEAD_REF master
|
|
)
|
|
|
|
vcpkg_cmake_configure(SOURCE_PATH "${SOURCE_PATH}")
|
|
|
|
vcpkg_cmake_install()
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
|
|
|
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") |