Skip to content

Commit 830a1e5

Browse files
committed
Added the dependency line which forces the catkin_make to first build the msgs and srv
1 parent a5a2117 commit 830a1e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ add_library(${PROJECT_NAME} src/gazebo_ros_link_attacher.cpp)
6060

6161
## Specify libraries to link a library or executable target against
6262
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
63+
add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS})
6364

6465

6566
#############

0 commit comments

Comments
 (0)