Skip to content

Commit

Permalink
[pr2_gazebo_plugins] append gazebo cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
furushchev authored and wkentaro committed Dec 17, 2015
1 parent 68d3a67 commit 08f92c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pr2_gazebo_plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,14 @@ add_library(gazebo_ros_controller_manager src/gazebo_ros_controller_manager.cpp)
add_dependencies(gazebo_ros_controller_manager
${PROJECT_NAME}_gencfg
${PROJECT_NAME}_generate_messages_cpp)
set_target_properties(gazebo_ros_controller_manager PROPERTIES COMPILE_FLAGS ${GAZEBO_CXX_FLAGS})
target_link_libraries(gazebo_ros_controller_manager ${catkin_LIBRARIES} ${Boost_LIBRARIES})

add_library(gazebo_ros_power_monitor src/gazebo_ros_power_monitor.cpp)
add_dependencies(gazebo_ros_power_monitor
${PROJECT_NAME}_gencfg
${PROJECT_NAME}_generate_messages_cpp)
set_target_properties(gazebo_ros_power_monitor PROPERTIES COMPILE_FLAGS ${GAZEBO_CXX_FLAGS})
target_link_libraries(gazebo_ros_power_monitor ${catkin_LIBRARIES} ${Boost_LIBRARIES})

# install libraries
Expand Down

0 comments on commit 08f92c7

Please sign in to comment.