diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c49c449fffb6ae26aaacbe8cc5d585d088cb186..8dcb45fd8a477579a0b88a0c04032b2025a8bcc2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -136,6 +136,7 @@ compile_plugin(ros_time)
 compile_plugin(ros_joint_state)
 
 target_link_libraries(ros_joint_state "${DYNAMIC_GRAPH_PLUGINDIR}/dp-dynamic.so")
+target_link_libraries(ros_publish ros_bridge)
 
 #compile_plugin(robot_model)