Fixed build without SuperGlue

This commit is contained in:
matlabbe
2020-05-09 21:41:38 -04:00
parent 91285e5e97
commit c44837a4cb
2 changed files with 6 additions and 5 deletions

View File

@@ -10,8 +10,6 @@ IF(QT4_FOUND)
INCLUDE(${QT_USE_FILE})
ENDIF(QT4_FOUND)
find_package (Python3 COMPONENTS Interpreter Development REQUIRED)
SET(LIBRARIES
${OpenCV_LIBRARIES}
${PCL_LIBRARIES}
@@ -23,8 +21,8 @@ add_definitions(${PCL_DEFINITIONS})
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})
ADD_EXECUTABLE(matcher main.cpp)
TARGET_LINK_LIBRARIES(matcher Python3::Python rtabmap_core rtabmap_utilite rtabmap_gui ${LIBRARIES})
TARGET_LINK_LIBRARIES(matcher rtabmap_core rtabmap_utilite rtabmap_gui ${LIBRARIES})
SET_TARGET_PROPERTIES( matcher
PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-matcher)