mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Fixed Windows build with flann<1.8
This commit is contained in:
@@ -59,7 +59,9 @@ find_package_handle_standard_args(FLANN DEFAULT_MSG FLANN_LIBRARY FLANN_INCLUDE_
|
||||
mark_as_advanced(FLANN_LIBRARY FLANN_LIBRARY_DEBUG FLANN_INCLUDE_DIR)
|
||||
|
||||
if(FLANN_FOUND)
|
||||
message(STATUS "FLANN found (include: ${FLANN_INCLUDE_DIRS}, lib: ${FLANN_LIBRARIES})")
|
||||
IF (NOT FLANN_FIND_QUIETLY)
|
||||
message(STATUS "FLANN found (include: ${FLANN_INCLUDE_DIRS}, lib: ${FLANN_LIBRARIES})")
|
||||
ENDIF (NOT FLANN_FIND_QUIETLY)
|
||||
if(FLANN_USE_STATIC)
|
||||
add_definitions(-DFLANN_STATIC)
|
||||
endif(FLANN_USE_STATIC)
|
||||
|
||||
Reference in New Issue
Block a user