From 830a1e5faf6a1a127756c70b92113f070e59491f Mon Sep 17 00:00:00 2001 From: job-1994 Date: Tue, 19 Jul 2016 12:59:29 +0200 Subject: [PATCH] Added the dependency line which forces the catkin_make to first build the msgs and srv --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b4355f..1c8234e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -60,6 +60,7 @@ add_library(${PROJECT_NAME} src/gazebo_ros_link_attacher.cpp) ## Specify libraries to link a library or executable target against target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES}) +add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS}) #############