Use nanoflann in your project via CMake
masterAfter building and installing nanoflann (setting CMAKE_INSTALL_PREFIX as needed), you can integrate it into your CMake project using find_package and linking against the nanoflann::nanoflann target.
# Find nanoflannConfig.cmake:
find_package(nanoflann)
add_executable(my_project test.cpp)
# Make sure the include path is used:
target_link_libraries(my_project nanoflann::nanoflann)