2019-11-11 11:00:23 +08:00
|
|
|
vcpkg_from_github(
|
|
|
|
OUT_SOURCE_PATH SOURCE_PATH
|
|
|
|
REPO jlblancoc/nanoflann
|
2023-02-03 11:57:45 +08:00
|
|
|
REF v1.4.3
|
|
|
|
SHA512 93a03357a57c8c122d01e35e7ce50751ec4490f938e2031d96521bbbbb5302de437c5933eb9e5cfb2583a8c4f28a118332bcf1be7b4f56259a2ce0af202de889
|
2019-11-11 11:00:23 +08:00
|
|
|
HEAD_REF master
|
|
|
|
)
|
|
|
|
|
2021-10-05 08:14:16 +08:00
|
|
|
vcpkg_cmake_configure(
|
2022-04-16 04:28:03 +08:00
|
|
|
SOURCE_PATH "${SOURCE_PATH}"
|
|
|
|
OPTIONS
|
|
|
|
-DNANOFLANN_BUILD_EXAMPLES=OFF
|
|
|
|
-DNANOFLANN_BUILD_TESTS=OFF
|
2019-11-11 11:00:23 +08:00
|
|
|
)
|
|
|
|
|
2021-10-05 08:14:16 +08:00
|
|
|
vcpkg_cmake_install()
|
2022-04-16 04:28:03 +08:00
|
|
|
vcpkg_cmake_config_fixup(CONFIG_PATH "share/${PORT}/cmake")
|
|
|
|
vcpkg_fixup_pkgconfig()
|
|
|
|
|
2021-10-05 08:14:16 +08:00
|
|
|
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
2019-11-11 11:00:23 +08:00
|
|
|
|
|
|
|
# Handle copyright
|
2023-02-03 11:57:45 +08:00
|
|
|
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")
|
|
|
|
|