vcpkg/ports/nanoflann/portfile.cmake
chausner 83261448a0
[nanoflann] Update to 1.3.2 (#20494)
* Update nanoflann to 1.3.2

* Update CI baseline

Co-authored-by: chausner <chausner@users.noreply.github.com>
2021-10-04 17:14:16 -07:00

18 lines
583 B
CMake

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO jlblancoc/nanoflann
REF v1.3.2
SHA512 937D3787DF389EFE530060CD2723130251E2CA7937B10F8D770C7B0D21FFD972E6DA21B2B9E655C5740D57B4AF8F76F0CC6D9AE39527C440BE8863BE0DEAA7ED
HEAD_REF master
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
vcpkg_cmake_config_fixup(CONFIG_PATH "lib/cmake/${PORT}")
# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)