Skip to content

Commit

Permalink
Set minimum libnabo version in CMakeLists.txt (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
boxanm authored Dec 16, 2024
1 parent 13577a2 commit e7ae26b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ include_directories(SYSTEM "${EIGEN_INCLUDE_DIR}")
#--------------------
if (NOT TARGET nabo)
# Find libnabo:
find_package(libnabo REQUIRED PATHS ${LIBNABO_INSTALL_DIR})
find_package(libnabo 1.1.1 REQUIRED PATHS ${LIBNABO_INSTALL_DIR})
if (TARGET libnabo::nabo)
set(libnabo_LIBRARIES libnabo::nabo)
message(STATUS "libnabo found, version ${libnabo_VERSION} (Config mode, libs=${libnabo_LIBRARIES})")
Expand Down
3 changes: 0 additions & 3 deletions pointmatcher/MatchersImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "PointMatcher.h"

#include "nabo/nabo.h"
#if NABO_VERSION_INT < 10007
#error "You need libnabo version 1.0.7 or greater"
#endif

template<typename T>
struct MatchersImpl
Expand Down

0 comments on commit e7ae26b

Please sign in to comment.