Fix the RViz plugin. (#237)
parent
58069b0033
commit
9311be0f7a
|
@ -41,11 +41,10 @@ catkin_package(
|
|||
)
|
||||
|
||||
file(GLOB_RECURSE ALL_SRCS "*.cc" "*.h")
|
||||
message(${ALL_SRCS})
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
add_library(${PROJECT_NAME} ${ALL_SRCS})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${QT_LIBRARIES})
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
if(rviz_QT_VERSION VERSION_LESS "5")
|
||||
message(STATUS "Using Qt4 based on the rviz_QT_VERSION: ${rviz_QT_VERSION}")
|
||||
find_package(Qt4 ${rviz_QT_VERSION} EXACT REQUIRED QtCore QtGui)
|
||||
|
@ -69,6 +68,9 @@ target_include_directories(${PROJECT_NAME} PUBLIC
|
|||
$<INSTALL_INTERFACE:include>
|
||||
)
|
||||
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CARTOGRAPHER_INCLUDE_DIRS})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${CARTOGRAPHER_LIBRARIES})
|
||||
|
||||
target_include_directories(${PROJECT_NAME} SYSTEM PUBLIC
|
||||
"${EIGEN3_INCLUDE_DIR}")
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${EIGEN3_LIBRARIES})
|
||||
|
|
Loading…
Reference in New Issue