Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set minimum libnabo version in CMakeLists.txt #567

Merged
merged 6 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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