diff --git a/raspimouse_fake/CMakeLists.txt b/raspimouse_fake/CMakeLists.txt
index 507d979..9153a09 100644
--- a/raspimouse_fake/CMakeLists.txt
+++ b/raspimouse_fake/CMakeLists.txt
@@ -18,6 +18,7 @@ ament_target_dependencies(fake_raspimouse_component
rclcpp
rclcpp_components
rclcpp_lifecycle
+ lifecycle_msgs
std_srvs)
rclcpp_components_register_nodes(fake_raspimouse_component "fake_raspimouse::Raspimouse")
@@ -27,6 +28,7 @@ ament_export_dependencies(rclcpp)
ament_export_dependencies(rclcpp_components)
ament_export_dependencies(rclcpp_lifecycle)
ament_export_dependencies(std_srvs)
+ament_export_dependencies(lifecycle_msgs)
ament_export_include_directories(include)
ament_export_libraries(
diff --git a/raspimouse_fake/package.xml b/raspimouse_fake/package.xml
index 9e1cb04..79b8993 100644
--- a/raspimouse_fake/package.xml
+++ b/raspimouse_fake/package.xml
@@ -19,6 +19,7 @@
geometry_msgs
sensor_msgs
std_srvs
+ lifecycle_msgs
rclcpp
rclcpp_components
rclcpp_lifecycle