Skip to content

Commit

Permalink
hide nanoflann
Browse files Browse the repository at this point in the history
  • Loading branch information
koide3 committed Jul 4, 2024
1 parent 298c2d2 commit d202f6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,7 @@ add_library(gtsam_points SHARED
)
target_include_directories(gtsam_points PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/nanoflann/include>
$<INSTALL_INTERFACE:include>
$<INSTALL_INTERFACE:include/gtsam_points/thirdparty/nanoflann>
)
target_link_libraries(gtsam_points
Boost::boost
Expand Down Expand Up @@ -277,7 +275,6 @@ endif()

include(GNUInstallDirs)
install(DIRECTORY include/ thirdparty/nanoflann/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(DIRECTORY thirdparty/nanoflann/include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/gtsam_points/thirdparty/nanoflann)

list(APPEND GTSAM_POINTS_LIBRARIES gtsam_points)
if(BUILD_WITH_CUDA)
Expand Down

0 comments on commit d202f6e

Please sign in to comment.