diff --git a/jsk_rviz_plugins/CMakeLists.txt b/jsk_rviz_plugins/CMakeLists.txt index 1b4dda3b..819d78d7 100644 --- a/jsk_rviz_plugins/CMakeLists.txt +++ b/jsk_rviz_plugins/CMakeLists.txt @@ -58,12 +58,17 @@ generate_dynamic_reconfigure_options( cfg/OverlayTextInterface.cfg) generate_messages(DEPENDENCIES std_msgs geometry_msgs) +if(USE_VISUALIZATION) + set(${LIBRARIES_PROJECT_NAME} ${PROJECT_NAME}) +else() + set(${LIBRARIES_PROJECT_NAME} "") +endif() catkin_package( DEPENDS ${RVIZ} CATKIN_DEPENDS jsk_hark_msgs jsk_footstep_msgs ${JSK_RECOGNITION_UTILS} cv_bridge people_msgs image_geometry INCLUDE_DIRS # TODO include - LIBRARIES ${PROJECT_NAME} + LIBRARIES ${LIBRARIES_PROJECT_NAME} )