Skip to content

Commit

Permalink
Suppress warnings of jsk_rviz_plugins for non-existent targets (#693)
Browse files Browse the repository at this point in the history
Support `catkin_make` also.

Ref: #692 (comment)
  • Loading branch information
wkentaro authored and k-okada committed May 22, 2018
1 parent 775d909 commit 551fc8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jsk_rviz_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,13 @@ else()
target_link_libraries(jsk_rviz_plugins Qt5::Widgets ${catkin_LIBRARIES} ${rviz_DEFAULT_PLUGIN_LIBRARIES})
endif()
add_dependencies(jsk_rviz_plugins
jsk_footstep_msgs_gencpp
jsk_gui_msgs_gencpp
jsk_hark_msgs_gencpp
jsk_recognition_msgs_gencpp
people_msgs_gencpp
view_controller_msgs_gencpp
${PROJECT_NAME}_gencpp)
jsk_footstep_msgs_generate_messages_cpp
jsk_gui_msgs_generate_messages_cpp
jsk_hark_msgs_generate_messages_cpp
jsk_recognition_msgs_generate_messages_cpp
people_msgs_generate_messages_cpp
view_controller_msgs_generate_messages_cpp
${PROJECT_NAME}_generate_messages_cpp)

if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set_target_properties(jsk_rviz_plugins PROPERTIES LINK_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -z defs")
Expand Down

0 comments on commit 551fc8c

Please sign in to comment.