Skip to content

Commit

Permalink
fix: ensure srv headers are build before gazebo plugin
Browse files Browse the repository at this point in the history
This commit ensures that the service headers are build before the Gazebo
plugin is build.
  • Loading branch information
rickstaa committed Jan 1, 2024
1 parent 0e3c1c8 commit 9c4ef85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions panda_gazebo/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,18 +63,18 @@ add_message_files(
## Generate services in the 'srv' folder
add_service_files(
FILES
LockJoints.srv
AddBox.srv
AddPlane.srv
GetControlledJoints.srv
GetMoveItControlledJoints.srv
GetEe.srv
SetEe.srv
GetEePose.srv
GetEePoseJointConfig.srv
GetEeRpy.srv
GetMoveItControlledJoints.srv
GetRandomEePose.srv
GetRandomJointPositions.srv
LockJoints.srv
SetEe.srv
SetEePose.srv
SetGripperWidth.srv
SetJointCommands.srv
Expand Down Expand Up @@ -161,7 +161,7 @@ add_library(${PROJECT_NAME} src/panda_joint_locker_world_plugin.cpp)
## Add cmake target dependencies of the library
## as an example, code may need to be generated before libraries
## either from message generation or dynamic reconfigure
# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})

## Declare a C++ executable
## With catkin_make all packages are built within a single CMake context
Expand Down

0 comments on commit 9c4ef85

Please sign in to comment.