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}) #############