CMakeLists.txt 382 B

123456789101112131415
  1. cmake_minimum_required(VERSION 3.0)
  2. project(pointcloud_example)
  3. # Find nanoflannConfig.cmake:
  4. find_package(nanoflann REQUIRED)
  5. add_executable(${PROJECT_NAME} pointcloud_example.cpp)
  6. # Make sure the include path is used:
  7. target_link_libraries(${PROJECT_NAME} nanoflann::nanoflann)
  8. # for this example to find "../utils.h"
  9. target_include_directories(${PROJECT_NAME} PRIVATE ".")