diff --git a/ur_driver/CMakeLists.txt b/ur_driver/CMakeLists.txt
index b3b60261246bef1d227416465ad71b78e66e186f..95a4d8c2446ebf7f34edd7110f9f8a204508343f 100644
--- a/ur_driver/CMakeLists.txt
+++ b/ur_driver/CMakeLists.txt
@@ -4,7 +4,7 @@ project(ur_driver)
 ## Find catkin macros and libraries
 ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
 ## is used, also find other catkin packages
-find_package(catkin REQUIRED)
+find_package(catkin REQUIRED roscpp rospy std_msgs message_generation)
 
 ## System dependencies are found with CMake's conventions
 # find_package(Boost REQUIRED COMPONENTS system)
@@ -22,21 +22,24 @@ catkin_python_setup()
 ## Generate messages in the 'msg' folder
 # add_message_files(
 #   FILES
-#   Message1.msg
-#   Message2.msg
+#   Analog.msg
+#   Digital.msg
+#   IOStates.msg
 # )
 
 ## Generate services in the 'srv' folder
 # add_service_files(
 #   FILES
-#   Service1.srv
+#   SetIO.srv
 #   Service2.srv
 # )
 
 ## Generate added messages and services with any dependencies listed here
 # generate_messages(
 #   DEPENDENCIES
-#   control_msgs#   sensor_msgs
+   #control_msgs
+   #sensor_msgs
+#   std_msgs
 # )
 
 ###################################