Skip to content

Commit

Permalink
fix for Undefined symbols for architecture x86_64: "Nabo::NearestNeig…
Browse files Browse the repository at this point in the history
  • Loading branch information
cdb0y511 authored Aug 27, 2023
1 parent 20ad6cc commit 6a5b844
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,9 @@ IF(WITH_POINTMATCHER)
find_package(libpointmatcher QUIET)
IF(libpointmatcher_FOUND)
MESSAGE(STATUS "Found libpointmatcher: ${libpointmatcher_INCLUDE_DIRS}")
# Find libnabo:
find_package(libnabo REQUIRED PATHS ${LIBNABO_INSTALL_DIR})
message(STATUS "libnabo found, version ${libnabo_VERSION} (Config mode)")
ENDIF(libpointmatcher_FOUND)
ENDIF(WITH_POINTMATCHER)

Expand Down
1 change: 1 addition & 0 deletions corelib/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ IF(libpointmatcher_FOUND)
SET(LIBRARIES
${LIBRARIES}
${libpointmatcher_LIBRARIES}
libnabo::nabo
)
ENDIF(libpointmatcher_FOUND)

Expand Down

0 comments on commit 6a5b844

Please sign in to comment.