Skip to content

Commit

Permalink
if USE_VISUALIZATION is not set, we do not have LIBRARIES in catkin_p…
Browse files Browse the repository at this point in the history
…ackage
  • Loading branch information
k-okada committed Jul 10, 2022
1 parent 55bcd08 commit 9642535
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion jsk_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)


Expand Down

0 comments on commit 9642535

Please sign in to comment.