mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 20:21:38 +08:00
39f3c5c343
* [hnswlib] new port * remove cmake config --------- Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com>
13 lines
539 B
CMake
13 lines
539 B
CMake
vcpkg_from_github(
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
REPO nmslib/hnswlib
|
|
REF 359b2ba87358224963986f709e593d799064ace6 # v0.7.0
|
|
SHA512 59a0c02bbe8f7389a2ecad9188a76eb3847b719a213d306093753c04e4eeb11d95e8e310aa03888364be475a2f2e6e7976bd81117517eef81eff2983379ac743
|
|
HEAD_REF master
|
|
)
|
|
|
|
file(COPY "${SOURCE_PATH}/hnswlib" DESTINATION "${CURRENT_PACKAGES_DIR}/include")
|
|
|
|
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
|